colorFrom
Deprecated
This feature has been deprecated. It is recommended to use Compose Multiplatform instead.
Creates a KalugaColor.RGBColor using red, green, blue, and (optional) alpha, all ranging between 0.0 and 1.0.
Return
The KalugaColor.RGBColor with the corresponding red, green, blue, and alpha values
Parameters
The red color value ranging between 0.0 and 1.0.
The green color value ranging between 0.0 and 1.0.
The blue color value ranging between 0.0 and 1.0.
The alpha color value ranging between 0.0 and 1.0. Defaults to 1.0
Deprecated
This feature has been deprecated. It is recommended to use Compose Multiplatform instead.
Creates a KalugaColor.RGBColor using red, green, blue, and (optional) alpha, all ranging between 0 and 255.
Return
The KalugaColor.RGBColor with the corresponding red, green, blue, and alpha values
Parameters
The red color value ranging between 0 and 255.
The green color value ranging between 0 and 255.
The blue color value ranging between 0 and 255.
The alpha color value ranging between 0 and 255. Defaults to 255
Deprecated
This feature has been deprecated. It is recommended to use Compose Multiplatform instead.
Attempts to parse a given String into a KalugaColor.RGBColor. The string should be formatted as either #AARRGGBB or #RRGGBB for the parsing to succeed.
Return
The KalugaColor.RGBColor associated with hexString or null if improperly formatted.
Parameters
The String to parse as a KalugaColor.RGBColor
Deprecated
This feature has been deprecated. It is recommended to use Compose Multiplatform instead.
Creates a KalugaColor.RGBColor using red, green, blue, and (optional) alpha, all ranging between 0.0 and 1.0.
Return
The KalugaColor.RGBColor with the corresponding red, green, blue, and alpha values
Parameters
The red color value ranging between 0.0 and 1.0.
The green color value ranging between 0.0 and 1.0.
The blue color value ranging between 0.0 and 1.0.
The alpha color value ranging between 0.0 and 1.0. Defaults to 1.0
Deprecated
This feature has been deprecated. It is recommended to use Compose Multiplatform instead.
Creates a KalugaColor.RGBColor using red, green, blue, and (optional) alpha, all ranging between 0 and 255.
Return
The KalugaColor.RGBColor with the corresponding red, green, blue, and alpha values
Parameters
The red color value ranging between 0 and 255.
The green color value ranging between 0 and 255.
The blue color value ranging between 0 and 255.
The alpha color value ranging between 0 and 255. Defaults to 255
Deprecated
This feature has been deprecated. It is recommended to use Compose Multiplatform instead.
Creates a KalugaColor.RGBColor using red, green, blue, and (optional) alpha, all ranging between 0.0 and 1.0.
Return
The KalugaColor.RGBColor with the corresponding red, green, blue, and alpha values
Parameters
The red color value ranging between 0.0 and 1.0.
The green color value ranging between 0.0 and 1.0.
The blue color value ranging between 0.0 and 1.0.
The alpha color value ranging between 0.0 and 1.0. Defaults to 1.0
Deprecated
This feature has been deprecated. It is recommended to use Compose Multiplatform instead.
Creates a KalugaColor.RGBColor using red, green, blue, and (optional) alpha, all ranging between 0 and 255.
Return
The KalugaColor.RGBColor with the corresponding red, green, blue, and alpha values
Parameters
The red color value ranging between 0 and 255.
The green color value ranging between 0 and 255.
The blue color value ranging between 0 and 255.
The alpha color value ranging between 0 and 255. Defaults to 255