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

Creates an array with two shades that can be used to make a gradient


Package


Description Description


Parameters Parameters

$amount

(int) (Optional) percentage amount you want your contrast color.

Default value: self::DEFAULT_ADJUST


Top ↑

Return Return

(array) An array with a 'light' and 'dark' index


Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

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