Properties

Link copied to clipboard
abstract val alpha: Double

The opacity of the given color model.

Functions

Link copied to clipboard
abstract fun opacify(factor: Double): T

Returns a copy of the color with the opacity (alpha) multiplied by a factor.

Link copied to clipboard
abstract fun toRGBa(): ColorRGBa

Convert into ColorRGBa.

Link copied to clipboard
abstract fun toVector4(): Vector4