Jump to content

ထႅမ်းပလဵတ်ႉ:RGB

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး
Documentation icon ၽိုၼ်ၵႅမ်မိုဝ်းထႅမ်းပလဵတ်ႉ[တူၺ်း] [မႄးထတ်း] [ပိုၼ်း] [ၸၢင်း]

Converts three 8-bit numbers or three percentages to a "rgb(r,g,b)" value, usable in CSS color properties.
This template can be substituted.

Useful for all sorts of color-related nefarious purposes.

သႂ်ႇၶေႃႈမုၼ်း

[မႄးထတ်းငဝ်ႈငႃႇ]
  • three parameters, each numeric in the range 0..255 (larger numbers will wrap around)

ၽွၼ်းဢွၵ်ႇ

[မႄးထတ်းငဝ်ႈငႃႇ]
  • a triplet of two-digit hex numbers

တူဝ်ယၢင်ႇ

[မႄးထတ်းငဝ်ႈငႃႇ]
  • {{RGB|0|0|0}} gives rgb(0,0,0)
  • {{subst:RGB|0|0|0}} gives rgb(0,0,0)
  • {{RGB|123|45|67|}} gives rgb(123,45,67)
  • {{subst:RGB|123|45|67}} gives rgb(123,45,67)
  • {{RGB|255|255|255}} gives rgb(255,255,255)
  • {{subst:RGB|255|255|255}} gives rgb(255,255,255)
  • {{RGB|0%|0%|0%}} gives rgb(0%,0%,0%)
  • {{RGB|123%|45%|67%|}} gives rgb(123%,45%,67%)
  • {{RGB|100%|100%|100%}} gives rgb(100%,100%,100%)