-
Notifications
You must be signed in to change notification settings - Fork 1
API.Util.Color
JuDelCo edited this page Jun 1, 2021
·
4 revisions
Namespace: Ju.Color
Color(float r, float g, float b);
Color(float r, float g, float b, float a);
Color(float brightness);
float r;
float g;
float b;
float a;
float Brightness();
float BrightnessPerceived();
Color Grayscale();
float Hue();
Color Invert();
float Saturation();
Color Clamp01();
Color FromHSV(float hue, float saturation, float value, float alpha);
Color HexToColor(string hex);
Color HexToColorAlpha(string hex);
Color HexToColor(int hex);
Color HexToColorAlpha(int hex);
Color Lerp(Color a, Color b, float alpha, bool extrapolate = false);
Color beige;
Color black;
Color blue;
Color brown;
Color clear;
Color cyan;
Color darkblue;
Color darkbrown;
Color darkgray;
Color darkgreen;
Color darkpurple;
Color gold;
Color gray;
Color green;
Color lightgray;
Color lime;
Color magenta;
Color maroon;
Color orange;
Color pink;
Color purple;
Color red;
Color skyblue;
Color violet;
Color white;
Color yellow;
Color32(byte r, byte g, byte b);
Color32(byte r, byte g, byte b, byte a);
Color32(byte brightness);
Color32(int r, int g, int b, int a);
Color32(float r, float g, float b, float a);
byte r;
byte g;
byte b;
byte a;
float Brightness();
float BrightnessPerceived();
Color32 Grayscale();
float Hue();
Color32 Invert(t);
float Saturation();
Color32 FromHSV(float hue, float saturation, float value, float alpha);
Color32 HexToColor(string hex);
Color32 HexToColorAlpha(string hex);
Color32 HexToColor(int hex);
Color32 HexToColorAlpha(int hex);
Color32 Lerp(Color32 a, Color32 b, float alpha, bool extrapolate = false);
Color32 beige;
Color32 black;
Color32 blue;
Color32 brown;
Color32 clear;
Color32 cyan;
Color32 darkblue;
Color32 darkbrown;
Color32 darkgray;
Color32 darkgreen;
Color32 darkpurple;
Color32 gold;
Color32 gray;
Color32 green;
Color32 lightgray;
Color32 lime;
Color32 magenta;
Color32 maroon;
Color32 orange;
Color32 pink;
Color32 purple;
Color32 red;
Color32 skyblue;
Color32 violet;
Color32 white;
Color32 yellow;
Return to [Home]
- Home
- Install
- Manual
-
Core API
- Services:
- Util:
-
Unity API
- Services:
- Integrations: