Template:Lighten1/doc
This is a documentation subpage for Template:Lighten1. It contains usage information, categories and other content that is not part of the original template page. |
Usage
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
{{lighten1|180| 0 }}
gives Template:Lighten1{{lighten1|180| 20}}
gives Template:Lighten1{{lighten1|180| 50}}
gives Template:Lighten1{{lighten1|180| 80}}
gives Template:Lighten1{{lighten1|180|100}}
gives Template:Lighten1
Related pages
{{Lighten}}