Module graphics::color [−][src]
Helper methods for colors
Constants
| BLACK | Black color. |
| BLUE | Blue color. |
| CYAN | Cyan color. |
| GRAY | Gray color. |
| GREEN | Green color. |
| LIME | Lime color. |
| MAGENTA | Magenta color. |
| MAROON | Maroon color. |
| NAVY | Navy color. |
| OLIVE | Olive color. |
| PURPLE | Purple color. |
| RED | Red color. |
| SILVER | Silver color. |
| TEAL | Teal color. |
| TRANSPARENT | Transparent color. |
| WHITE | White color. |
| YELLOW | Yellow color. |
Functions
| alpha | Returns a semi-transparent white color |
| gamma_linear_to_srgb | Converts gamma (brightness) of a color from linear color space to sRGB. |
| gamma_srgb_to_linear | Converts gamma (brightness) from sRGB to linear color space. |
| grey | Returns a grey color |
| hex | Converts from hexadecimal color format |