Color Name

From MafiaWiki
Jump to: navigation, search

When you have more than 5,000 points, the Name Restrictions are lifted. Along with being able to have a longer name and special characters, you can also use color codes to change the color of your name.

Name Restrictions

Before you reach the 5,000 points, the Name Restrictions are as follows:

  • Name length can't be more then 20 characters.
  • Name can't contain any special characters.

Color Codes

Input color values using HTML coding. In essence, HTML coding is a 6 digit/letter combination used for a specific color value.

Coding Format

Code:
<c val="FF0000">The text here will be red</c>
Outcome:
The text here will be red

Anything between the "opening" and "closing" brackets will be the color chosen.

So to make R red it would look like this:

Code:
<c val="FF0000">R</c>ed
Outcome:
Red


Examples

Red:

Code:
<c val="FF0000">Red</c>
Outcome:
Red

Orange:

Code:
<c val="fe8a0e">Orange</c>
Outcome:
Orange

Yellow:

Code:
<c val="FFFF00">Yellow</c>
Outcome:
Yellow

Green:

Code:
<c val="00FF00">Green</c>
Outcome:
Green

Teal:

Code:
<c val="00FFFF">Teal</c>
Outcome:
Teal

Blue:

Code:
<c val="151B8D">Blue</c>
Outcome:
Blue

Purple:

Code:
<c val="842DCE">Purple</c>
Outcome:
Purple

RAINBOW:

Code:
<c val="FF0000">R</c><c val="fe8a0e">A</c><c val="FFFF00">I</c><c val="00FF00">N</c><c val="00FFFF">B</c><c val="151B8D">O</c><c val="842DCE">W</c>
Outcome:
RAINBOW

Useful Websites

If you need help there is a thread on the Mafia forum here:

SC2Mafia Forum: Information and tips

Other useful websites:

  1. http://www.computerhope.com/htmcolor.htm
  2. http://www.w3schools.com/tags/ref_colorpicker.asp?colorhex=%23CC2626
  3. http://www.herethere.net/~samson/php/color_gradient/ (For making gradients)
  4. http://patorjk.com/text-color-fader/ (Color fading)

Notes

  • There is a 255 character limit set in place for starcraft. 12-13 Different colors is about the max that you may use in any name before it will be cut off.
  • Color Codes also work in Last Wills.