Template:Lighten
- Usage
- Lightens a color.
- This template can be substituted (provided that the optional format template is substitutable).
- Input
- Output
-
- lightened color as hexadecimal color code (if using Hex3)
- Example
- {{Hex3|240|160|200}} gives #F0A0C8
- {{Lighten|240|160|200| 0 }} gives #??????
- {{Lighten|240|160|200| 20}} gives #??????
- {{Lighten|240|160|200| 50}} gives #??????
- {{Lighten|240|160|200| 80}} gives #??????
- {{Lighten|240|160|200|100}} gives #??????
- {{subst:Hex3|240|160|200}} gives #F0A0C8
- {{subst:Lighten|240|160|200| 20}} gives #F3B3D3
- {{subst:Lighten|240|160|200| 50}} gives #F8D0E4
- {{subst:Lighten|240|160|200| 80}} gives #FCECF4
- {{subst:Lighten|240|160|200|100}} gives #FFFFFF
- {{RGB|240|160|200}} gives Template:RGB
- {{Lighten|240|160|200| 0 |format=RGB}} gives Template:RGB
- {{Lighten|240|160|200| 20|format=RGB}} gives Template:RGB
- {{Lighten|240|160|200| 50|format=RGB}} gives Template:RGB
- {{Lighten|240|160|200| 80|format=RGB}} gives Template:RGB
- {{Lighten|240|160|200|100|format=RGB}} gives Template:RGB
- {{subst:RGB|240|160|200}} gives rgb(240,160,200)
- {{subst:Lighten|240|160|200| 0 |format=RGB}} gives rgb(240,160,200)
- {{subst:Lighten|240|160|200| 20|format=RGB}} gives rgb(243,179,211)
- {{subst:Lighten|240|160|200| 50|format=RGB}} gives rgb(248,208,228)
- {{subst:Lighten|240|160|200| 80|format=RGB}} gives rgb(252,236,244)
- {{subst:Lighten|240|160|200|100|format=RGB}} gives rgb(255,255,255)
- See also
The above documentation is transcluded from Template:Lighten/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |