Template:Lighten1
Appearance
Usage
[edit]Lightens a color component. This template can be substituted.
Input:
- first parameters: a single RGB color component value to lighten, numeric and in range 0..255
- second parameter: amount by which to lighten in % (0 = no change, 100 = white)
Output:
- lightened component value as decimal
Example
[edit]{{lighten1|180| 0 }}
gives 180{{lighten1|180| 20}}
gives 195{{lighten1|180| 50}}
gives 218{{lighten1|180| 80}}
gives 240{{lighten1|180|100}}
gives 255
See also
[edit]{{Lighten}}