Garry's Mod Wiki

Garry's Mod Wiki

  Color HexToColor( string hue )

Description

Converts a hexadecimal representation of a color to Color object.

Arguments

1 string hue
A hex formatted color. Accepted formats are:
  • #RRGGBB
  • #RRGGBBAA (Web color standard variation)
  • #RGB
  • #RGBA

# can be omitted.

Returns

1 Color
The Color created from the hexadecimal color code.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...