Package dev.prozilla.pine.common.system
Class Colour
java.lang.Object
dev.prozilla.pine.common.system.Color
dev.prozilla.pine.common.system.Colour
- All Implemented Interfaces:
Cloneable<Color>
,Printable
,Transceivable<Color>
,Transmittable<Color>
British version of
Color
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Colour
aqua()
static Colour
black()
static Colour
blue()
static Colour
cyan()
static Colour
darkBlue()
static Colour
darkCyan()
static Colour
static Colour
darkGrey()
static Colour
static Colour
static Colour
darkRed()
static Colour
static Colour
dimGrey()
static Colour
gold()
static Colour
green()
static Colour
grey()
static Colour
hsl
(float hue, float saturation, float lightness) static Colour
hsl
(int hue, int saturation, int lightness) static Colour
static Colour
static Colour
static Colour
static Colour
static Colour
lime()
static Colour
magenta()
static Colour
maroon()
static Colour
static Colour
static Colour
navy()
static Colour
olive()
static Colour
orange()
static Colour
static Colour
pink()
static Colour
purple()
static Colour
static Colour
red()
static Colour
silver()
static Colour
skyBlue()
static Colour
static Colour
teal()
toColour()
static Colour
tomato()
static Colour
static Colour
static Colour
violet()
static Colour
white()
static Colour
static Colour
yellow()
Methods inherited from class dev.prozilla.pine.common.system.Color
clone, darkGray, dimGray, equals, equals, getAlpha, getBlue, getGreen, getRed, gray, lightGray, mix, mix, multiply, parse, self, set, set, setAlpha, setAlpha, setBlue, setBlue, setGreen, setGreen, setRed, setRed, setRGB, setRGB, setRGB, toString, toVector3f, toVector4f, transmit
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.prozilla.pine.common.Transceivable
receive
-
Constructor Details
-
Colour
public Colour() -
Colour
-
Colour
public Colour(float red, float green, float blue) -
Colour
public Colour(float red, float green, float blue, float alpha) -
Colour
public Colour(int red, int green, int blue) -
Colour
public Colour(int red, int green, int blue, int alpha)
-
-
Method Details
-
toColour
-
hsl
- See Also:
-
hsl
- See Also:
-
decode
- Throws:
NumberFormatException
- See Also:
-
white
-
black
-
red
-
green
-
blue
-
transparent
-
aqua
-
cyan
-
darkBlue
-
darkCyan
-
darkGrey
-
darkGreen
-
darkMagenta
-
darkOrange
-
darkRed
-
dimGrey
-
gold
-
grey
-
lightBlue
-
lightCyan
-
lightGrey
-
lightGreen
-
lightYellow
-
lime
-
magenta
-
maroon
-
mediumBlue
-
mintCream
-
olive
-
orange
-
orangeRed
-
pink
-
purple
-
rebeccaPurple
-
silver
-
skyBlue
-
springGreen
-
teal
-
tomato
-
turquoise
-
violet
-
whiteSmoke
-
yellow
-