Colors by Name
- black
- silver
- gray
- white
- maroon
- red
- purple
- fuchsia
- green
- lime
- olive
- yellow
- navy
- blue
- teal
- aqua
Color Shorthand
Colors using hexidecimal can sometimes be written in shorthand. If your colors adhere to the following rule, then the shorthand can be applied.
- Rule:
- 00CCFF can be written as 0CF, meaning that each set of twos can be represented by one character, i.e, 00 is the same as 0. This rule works due to the fact that RGB, or red green blue, is represented in the six-digit hexidecimal code, as follows: RRGGBB, where RR is shades of red, GG is shades of green, and BB is shades of blue. In other words, RRGGBB can be written as "RGB."
Note: The purpose of this shorthand is sometimes given as "a means to decrease file size." But, in reality, we're only talking a matter of bytes. For me, the reason to use it is, as a way to simplify the creation process. In short, it saves time.
