DarkLightColor
A KalugaColor that has a different RGBColor for isInDarkMode being true or false.
A KalugaColor that has a different RGBColor for isInDarkMode being true or false.
A KalugaColor that has a different RGBColor for isInDarkMode being true or false.
Constructors
Constructor to create from ColorInt
Properties
A ColorInt describing the Color for the current ui mode.
the RGBColor to use when isInDarkMode is true.
the RGBColor to use when isInDarkMode is true.
the RGBColor to use when isInDarkMode is true.
the RGBColor to use when isInDarkMode is false.
the RGBColor to use when isInDarkMode is false.
the RGBColor to use when isInDarkMode is false.
Creates a KalugaColor.DarkLightColor from another by using the KalugaColor.DarkLightColor.darkColor as the default color and vice versa.
The inverted KalugaColor.DarkLightColor. Each value will be inverted individually.
Gets a SerializableColor instance of this color
Functions
Gets the alpha value of the color forDarkMode in a range between 0.0 and 1.0
Gets the alpha value of the color forDarkMode in a range between 0 and 255
Gets the blue value of the color forDarkMode in a range between 0.0 and 1.0
Gets the blue value of the color forDarkMode in a range between 0 and 255
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.
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
Gets the green value of the color forDarkMode in a range between 0.0 and 1.0
Gets the green value of the color forDarkMode in a range between 0 and 255
Blends a KalugaColor with another color using BlendMode.HardLight
Gets the hex string representing the color forDarkMode
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.
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
Gets the red value of the color forDarkMode in a range between 0.0 and 1.0
Gets the red value of the color forDarkMode in a range between 0 and 255
Gets the KalugaColor.RGBColor
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