Description Usage Arguments Details Value See Also Examples
Given a color, return a lighter one
1 |
col |
(color) The original color. Might be specified as a color name or a "#RRGGBB(AA)" hex color definition. |
amount |
(integer, [0-255]) The fixed amount to add to each RGB channel (Defaults to 150). |
Very simple utility function to create lighter colors. Given a color, it transforms it to rgb space, adds a set amount to all chanels and transforms it back to a color.
A lighter color
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.