DemiLib
A collection of Demigiant's utility libraries for Unity (https://github.com/Demigiant/demilib)
DG.DeUtils.DeColorUtils Class Reference

Static Public Member Functions

static string ColorToHex (Color32 color)
 Returns a HEX version of the given Unity Color, without the initial # More...
 
static Color HexToColor (string hex)
 Converts a HEX color to a Unity Color More...
 

Member Function Documentation

static string DG.DeUtils.DeColorUtils.ColorToHex ( Color32  color)
static

Returns a HEX version of the given Unity Color, without the initial #

static Color DG.DeUtils.DeColorUtils.HexToColor ( string  hex)
static

Converts a HEX color to a Unity Color

Parameters
hexThe HEX color (either with or without the initial #)

The documentation for this class was generated from the following file: