Browse: Home / Functions /

learndash_hex2rgb

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

Converts the hex color values to rgb.


Description #


Parameters #

$color

(string) (Required) Color value in hex format.

$opacity

(float|int|boolean) (Optional) The opacity of color.

Default value: false


Return #

(string) Color value in rgb format.


Source #

File: themes/ld30/includes/helpers.php


Changelog #

Changelog
Version Description
3.0.0 Introduced.