Commit 94867fd
committed
Optimize output of color values
Useful to manipulate colors in integers in PHP code. But once output,
there really is no difference. And this:
#fff
is much more space-efficient than this:
rgb(255,255,255)
(at least for this example, the former is 400% more efficient)1 parent a80739f commit 94867fd
1 file changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments