Open lauweijie opened 2 years ago
genesis_sample_color_brightness() produces invalid hex color codes given certain inputs.
genesis_sample_color_brightness( '#ff00ff' , 5 );
Expected: #ff05ff Actual #ff5ff
echo genesis_sample_color_brightness( '#ff00ff' , 5 );
No documentation required.
Hi, sorry this is kind of irrelevant to your PR, but I'm wondering if you are willing to mentor me in software dev? I came from your LinkedIn and am looking for pursuing a similar path :>
genesis_sample_color_brightness() produces invalid hex color codes given certain inputs.
genesis_sample_color_brightness( '#ff00ff' , 5 );
Expected: #ff05ff Actual #ff5ff
How to test
echo genesis_sample_color_brightness( '#ff00ff' , 5 );
Documentation
No documentation required.
Suggested changelog entry