Color Functions
This section covers functions related to color manipulation.
adjustBrightness
Changes the brightness of a color. Accepts a HEX or RGB value as the first parameter and a percentage as the second (default is 10%).
Usage
{{ adjustBrightness('202, 202, 202', 80) }}
{{ adjustBrightness('#0000', 80) }}
hex_to_rgb
Converts a HEX color code to an RGBA format.
Usage
{{ config('#ffff') | hex_to_rgb }}