Returns a Color4 interpolated between this colour and color by the fraction alpha.
Parameters
| color | Color4 | The colour to interpolate towards. |
| alpha | number | The blend factor, between 0 and 1. |
An RGBA colour. A Color3 with an added alpha (opacity) channel. The R, G, B and A properties are exposed in the 0-255 range. This is a Madius-specific datatype with no direct Roblox equivalent.
| Name | Type | Access | Description |
|---|---|---|---|
| R | number | read | The red channel, as an integer from 0 to 255. since 1.6.9-2-alpha |
| G | number | read | The green channel, as an integer from 0 to 255. since 1.6.9-2-alpha |
| B | number | read | The blue channel, as an integer from 0 to 255. since 1.6.9-2-alpha |
| A | number | read | The alpha (opacity) channel, as an integer from 0 to 255. since 1.6.9-2-alpha |
Returns a Color4 interpolated between this colour and color by the fraction alpha.
| color | Color4 | The colour to interpolate towards. |
| alpha | number | The blend factor, between 0 and 1. |
Returns the hue, saturation, value and alpha of the colour, each as a number from 0 to 1.
Returns the colour as a hex string (e.g. "FF5733FF").