WP_Duotone::colord_hsla_to_rgba()
Converts an HSLA array to RGBA.
Direct port of colord's hslaToRgba function.
Method of the class: WP_Duotone{}
No Hooks.
Return
Array
. The RGBA array.
Usage
$result = WP_Duotone::colord_hsla_to_rgba( $hsla );
- $hsla(array) (required)
- The HSLA array to convert.
Changelog
Since 6.3.0 | Introduced. |
WP_Duotone::colord_hsla_to_rgba() WP Duotone::colord hsla to rgba code WP 6.6.2
private static function colord_hsla_to_rgba( $hsla ) { return self::colord_hsva_to_rgba( self::colord_hsla_to_hsva( $hsla ) ); }