• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:RGB slider

  • Template
  • Talk
  • Language
  • Watch
  • Edit
R: 128
128
G: 200
200
B: 255
255
#80C8FF

A typical RGB color selector. Each slider ranges from 0 to 255.

Template documentation[view] [edit] [history] [purge]

Usage

edit

Meant to illustrate what an RGB slider is with a slider that really works. Based on File:RGB sliders.svg

The caption argument allows you to set a different caption than default. You can change the starting colour by specifying R, G and B as base-10 numbers between 0 and 255.

This template requires the calculator gadget to be enabled. If it is not enabled or JS is disabled then nothing will be shown.

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
RR

Amount of red in decimal (number between 0 and 255)

Default
128
Numberoptional
GG

Amount of green in decimal (number between 0 and 255)

Default
200
Numberoptional
BB

Amount of blue in decimal (number between 0 and 255)

Default
255
Numberoptional
captioncaption

Text to display under the slider to label it

Contentoptional
The above documentation is transcluded from Template:RGB slider/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:RGB_slider&oldid=1287148498"
Last edited on 24 April 2025, at 09:17

Languages

    • Euskara
    • Slovenščina
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 24 April 2025, at 09:17 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop