ထႅမ်းပလဵတ်ႉ:Darken1
လွင်ႈၸႂ်ႉတိုဝ်း
မႄးထတ်းDarkens a color component.
This template can be substituted.
သႂ်ႇၶေႃႈမုၼ်း:
- first parameters: a single RGB color component value to darken, numeric and in range 0..255
- second parameter: amount by which to darken in % (0 = no change, 100 = black)
ၽွၼ်းဢွၵ်ႇ:
- darkened component value as decimal
တူဝ်ယၢင်ႇ:
- {{darken1|180| 0 }} gives 180
- {{darken1|180| 20}} gives 144
- {{darken1|180| 50}} gives 90
- {{darken1|180| 80}} gives 36
- {{darken1|180|100}} gives 0