learndash_hex2rgb( string $color, float|int|boolean $opacity = false )

Converts the hex color values to rgb.


Description Description


Parameters Parameters

$color

(Required) Color value in hex format.

$opacity

(Optional) The opacity of color.

Default value: false


Top ↑

Return Return

(string) Color value in rgb format.


Top ↑

Source Source

File: themes/ld30/includes/helpers.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.