Description Usage Arguments Value
The luminosity of a color is scaled in a range of [-1,1]
,
where -1 means black, 1 means white, and 0 means the color at its current
luminosity. A value in (0, 1]
will make the color brighter while
trying to preserve its chromotographical properties. A value in [-1,
0)
will make the color darker while trying to preserve its
chromotographical properties. See
https://stackoverflow.com/questions/6615002
1 | rgb.scale.luminosity(r, g, b, scale, limit = 255)
|
r |
the red value |
g |
the green value |
b |
the blue value |
scale |
the scale value, in |
limit |
the maximum permitted value for each rgb-coordinate: defaults to 255 |
a color with similar chromotographical properties but either lighter (scale>0) or darker (scale<0) complexion.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.