@package: HireBee

APP_PHPColors::darken()

Method: Given a HEX value, returns a darker color. If no desired amount provided, then the color halfway between given HEX and black will be returned.

Source: includes/class-phpcolors.php:218

Used by 3 functions | Uses 2 functions

APP_PHPColors::lighten()

Method: Given a HEX value, returns a lighter color. If no desired amount provided, then the color halfway between given HEX and white will be returned.

Source: includes/class-phpcolors.php:231

Used by 3 functions | Uses 2 functions

APP_PHPColors::foreground()

Method: Checks the lightness of given color, and if it passes the `$threshold` of lightness, it returns the darker color. Otherwise, it returns the lighter color.

Source: includes/class-phpcolors.php:251

Used by 0 functions | Uses 3 functions

APP_PHPColors::mix()

Method: Given a HEX value, returns a mixed color. If no desired amount provided, then the color mixed by this ratio

Source: includes/class-phpcolors.php:288

Used by 0 functions | Uses 3 functions
Premium WordPress Apps