For each color, create a lighter version either by introducing transparency or by just dimming down.
A color. Eighter a name such as "red" or preferrably a hex string such as "#FF0000"
Amount of transparency, 1=not transparent, 0=fully transparent. Recycled.
Amount of lightening, 1=none, 0=white.
Same thin is used for all components of RGB. Thus
results in white. No value checking is done, so either
alpha outside 0,1 most likely results in error.
A vector of rgba values suitable for using in graphics.
Not all graphics devices support transparency. Parameter
may be helpful in these situations.
Mikko J Virtanen, Petteri Mäntymaa, Tarja Palosaari, Salla Toikkanen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.