APP_PHPColors::lighten( int $amount = self::DEFAULT_ADJUST )

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.


Package


Description Description


Parameters Parameters

$amount

(int) (Optional)

Default value: self::DEFAULT_ADJUST


Top ↑

Return Return

(string) Lighter HEX value


Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

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