Template:HexColour: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(this is a bit inconvenient but will make it much easier to pass colours around)
m (Text replacement - "== ([^=])" to "== $1")
 
Line 2: Line 2:


==Usage==
==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>
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 #.