Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix genesis_sample_color_brightness() #394

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

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