Star Trek Online Wiki

The latest Star Trek Online story update, Season Twenty-four: Reflections, is now live!

Spoiler warnings ahead!

READ MORE

Star Trek Online Wiki
Advertisement
Star Trek Online Wiki


The following documentation is transcluded from Template:Color/doc (edit):

This simply formats text in a certain color.

Parameters:

  1. Color — This can be any HTML or CSS color name, hex code, or RGB formula.
    • Name: e.g. orange, CornflowerBlue, red, white (more info)
    • Hex: e.g. #f38c2b, #f90 (same as #ff9900), #123def (more info)
    • RGB: e.g. rgb(128, 255, 0) — Red, green and blue, in that order. 255 is 100%, so 128 would be half. The combination (128, 255, 0) would produce a greenish yellow.
  2. Text — The text to color.

Examples:

* {{color|red|Red text}}
* {{color|#09f|Light blue text, hex code #09f, or #0099ff}}
* {{color|rgb(128,255,0)|That yellowish green color}}

Output:

  • Red text
  • Light blue text, hex code #09f, or #0099ff
  • That yellowish green color

Advertisement