RGBColor
A KalugaColor that is represented by a single rgb-value
A KalugaColor that is represented by a single rgb-value
A KalugaColor that is represented by a single rgb-value
Constructors
Properties
Gets the alpha value of the color in a range between 0.0 and 1.0.
Gets the alpha value of the color in a range between 0.0 and 1.0
Gets the alpha value of the color in a range between 0.0 and 1.0.
Gets the alpha value of the color in a range between 0 and 255.
Gets the alpha value of the color in a range between 0 and 255
Gets the alpha value of the color in a range between 0 and 255.
Gets the blue value of the color in a range between 0.0 and 1.0.
Gets the blue value of the color in a range between 0.0 and 1.0
Gets the blue value of the color in a range between 0.0 and 1.0.
Gets the blue value of the color in a range between 0 and 255.
Gets the blue value of the color in a range between 0 and 255
Gets the green value of the color in a range between 0 and 255.
A ColorInt describing the Color for the current ui mode.
Gets the green value of the color in a range between 0.0 and 1.0.
Gets the green value of the color in a range between 0.0 and 1.0
Gets the green value of the color in a range between 0.0 and 1.0.
Gets the green value of the color in a range between 0 and 255.
Gets the green value of the color in a range between 0 and 255
Gets the blue value of the color in a range between 0 and 255.
The hex string representing this color.
Gets the HSLColor equivalent to this KalugaColor.RGBColor
The inverted KalugaColor.RGBColor.
Gets the red value of the color in a range between 0.0 and 1.0.
Gets the red value of the color in a range between 0.0 and 1.0
Gets the red value of the color in a range between 0.0 and 1.0.
Gets the red value of the color in a range between 0 and 255.
Gets the red value of the color in a range between 0 and 255
Gets the red value of the color in a range between 0 and 255.
Gets a SerializableColor instance of this color
Gets a SerializableRGBColor instance of this color
Functions
Blends a KalugaColor with another color using BlendMode.ColorBurn
Blends a KalugaColor with another color using BlendMode.ColorBlend
Blends a KalugaColor with another color using BlendMode.Darken
Decreases the lightness of a KalugaColor by this factor. If this is a KalugaColor.DarkLightColor each component wll be darkened individually.
Decreases the lightness of a KalugaColor.RGBColor by this factor.
Blends a KalugaColor with another color using BlendMode.Difference
Blends a KalugaColor with another color using BlendMode.ColorDodge
Blends a KalugaColor with another color using BlendMode.Exclusion
Blends a KalugaColor with another color using BlendMode.HardLight
Blends a KalugaColor with another color using BlendMode.Hue
Blends a KalugaColor with another color using BlendMode.Lighten
Increases the lightness of a KalugaColor by this factor. If this is a KalugaColor.DarkLightColor each component wll be lightened individually.
Increases the lightness of a KalugaColor.RGBColor by this factor.
Blends a KalugaColor with another color using BlendMode.Luminosity
Blends a KalugaColor with another color using BlendMode.Multiply
Blends a KalugaColor with another color using BlendMode.Normal
Blends a KalugaColor with another color using BlendMode.Overlay
Blends a KalugaColor with another color using BlendMode.Saturation
Blends a KalugaColor with another color using BlendMode.Screen
Blends a KalugaColor with another color using BlendMode.SoftLight
Creates a KalugaColor.DarkLightColor that uses darkModeColor when isInDarkMode and this color otherwise. If this color has a dark mode already it will be overwritten. If darkModeColor has a dark mode, it will be used.
Creates a KalugaColor.DarkLightColor that uses darkModeColor when isInDarkMode and this color otherwise. If this color has a dark mode already it will be overwritten. If darkModeColor has a dark mode, it will be used.
Creates a KalugaColor.DarkLightColor that uses darkModeColor when isInDarkMode and this color otherwise. If this color has a dark mode already it will be overwritten. If darkModeColor has a dark mode, it will be used.