Шаблон:Darken
Зоҳир
- Usage
- Darkens a color.
- Template can be substituted.
- Input
- Output
-
- darkened color as hexadecimal color code
- Examples
- {{Hex3|240|160|200}} gives #F0A0C8
- {{Darken|240|160|200| 0 }} gives #F0A0C8
- {{Darken|240|160|200| 20}} gives #C080A0
- {{Darken|240|160|200| 50}} gives #785064
- {{Darken|240|160|200| 80}} gives #302028
- {{Darken|240|160|200|100}} gives #000000
- {{subst:Hex3|240|160|200}} gives #F0A0C8
- {{subst:Darken|240|160|200| 0 }} gives #F0A0C8
- {{subst:Darken|240|160|200| 20}} gives #C080A0
- {{subst:Darken|240|160|200| 50}} gives #785064
- {{subst:Darken|240|160|200| 80}} gives #302028
- {{subst:Darken|240|160|200|100}} gives #000000
- {{RGB|240|160|200}} gives rgb(240,160,200)
- {{Darken|240|160|200| 0 |format=RGB}} gives rgb(240,160,200)
- {{Darken|240|160|200| 20|format=RGB}} gives rgb(192,128,160)
- {{Darken|240|160|200| 50|format=RGB}} gives rgb(120,80,100)
- {{Darken|240|160|200| 80|format=RGB}} gives rgb(48,32,40)
- {{Darken|240|160|200|100|format=RGB}} gives rgb(0,0,0)
- {{subst:RGB|240|160|200}} gives rgb(240,160,200)
- {{subst:Darken|240|160|200| 0 |format=RGB}} gives rgb(240,160,200)
- {{subst:Darken|240|160|200| 20|format=RGB}} gives rgb(192,128,160)
- {{subst:Darken|240|160|200| 50|format=RGB}} gives rgb(120,80,100)
- {{subst:Darken|240|160|200| 80|format=RGB}} gives rgb(48,32,40)
- {{subst:Darken|240|160|200|100|format=RGB}} gives rgb(0,0,0)