November 4th, 2019

🕒 Wiki Weekly #25! 🕑

It's November!
We've listed pages that need some love. Take a look!

Latest Announcements

Template:HexCon

From Zelda Wiki, the Zelda encyclopedia
Jump to: navigation, search


Purpose

This template takes a hexadecimal color code and converts it either to or from a condensed shortcut format. For colors in the format AABBCC, they can be condensed to ABC and still be properly recognized by HTML coding.

Usage

To use this template, type:     {{HexCon|Color Hex }}

  • Color Hex — The three or six digit hexadecimal code for the color.

When a three digit hex code is entered, the template will convert it to the proper six digit hex code. If a six digit hex code is entered, the template will convert it to a three digit code if, and only if, it can be. To force all results to be six digits, add a second parameter with the text forced, not case sensitive.