Template:Lighten1
Usage
changeLightens 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
change{{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
Related pages
change{{Lighten}}