Difference between revisions of "Template:ColorPreview"
Jump to navigation
Jump to search
GlitchyPSI (talk | contribs) Tag: 2017 source edit |
(No difference)
|
Latest revision as of 02:48, 19 June 2020
Documentation
This template allows you to insert a specific hex color (With colored text preview). Useful for character descriptions and stuff that requires exact colors for reference.
Usage
The syntax of the template is
{{ColorPreview| color=rrggbb| }}
where rr would be 0-255 for the Red color, gg would be 0 - 255 for the Green color, and bb would be 0 - 255 for the Blue color.
For example, A preview for Nazure would be written as:
{{ColorPreview| color=366FFF| }}
And its output would be: #366FFF .
The color preview is now just a small rounded square next to the copyable color with a dark outline, which means even bright colors can be displayed properly.
#FFF
#DEDEDE .