Template:TTrgb

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This template takes the first argument and gives it back as preformatted text tagged as CODE, preceded by an octothrope ("#") with a mid gray “southwest” shadow as the content of a {{Colorbox}} whose background is tinted with the color shade given by the first argument, interpreted as an RGB triplet. (Note: this template does not attempt to validate the first argument as an hexadecimal number: GIGO caueat!)

exemples:
  • {{TTrgb|368FA0}} #368FA0 
  • {{TTrgb|123456}} #123456 
  • {{TTrgb|other…}} #other…