Template:HexColour: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(New Page: #{{dec2hex|{{{1|0}}}|digits=2}}{{dec2hex|{{{2|0}}}|digits=2}}{{dec2hex|{{{3|0}}}|digits=2}})
 
m (Text replacement - "== ([^=])" to "== $1")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
#{{dec2hex|{{{1|0}}}|digits=2}}{{dec2hex|{{{2|0}}}|digits=2}}{{dec2hex|{{{3|0}}}|digits=2}}
{{dec2hex|{{{1|0}}}|digits=2}}{{dec2hex|{{{2|0}}}|digits=2}}{{dec2hex|{{{3|0}}}|digits=2}}<noinclude>
 
==Usage==
This template takes three RGB values from 0-255 in decimal and outputs a hex colour for use in CSS styles. Useful for when a colour must be calculated and not just hardcoded. Does not include the preceding #.</noinclude>

Latest revision as of 01:19, April 13, 2022

000000

Usage

This template takes three RGB values from 0-255 in decimal and outputs a hex colour for use in CSS styles. Useful for when a colour must be calculated and not just hardcoded. Does not include the preceding #.