Skip to content

Conversation

@lauweijie
Copy link

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

  1. echo genesis_sample_color_brightness( '#ff00ff' , 5 );
  2. Verify output

Documentation

No documentation required.

Suggested changelog entry

  • Fix genesis_sample_color_brightness()

genesis_sample_color_brightness() produces invalid hex color codes given certain inputs.

genesis_sample_color_brightness( '#ff00ff' , 5 );

Expected: #ff05ff
Actual #ff5ff
@kangchenghua
Copy link

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 :>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants