Description Usage Arguments Details Value
This function tries to return how "bright" (i.e. perceived luminance) a given color is based on psychological evaluations at the dawn of the color TV era.
1 | get_brightness(.color)
|
.colors |
Vector or list with colors.This is passed to |
This takes into account that the human eye is most sensitive to green, followed by red with blue colors appearing darker.
Everything is stolen from stackoverflow so don't sue me.
A vector of brightness values between 0 and 1. 0 meaning black and 1 white.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.