Skip to content
New issue

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

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

Already on GitHub? # to your account

Small bug in choosing intense colors #22

Open
fctr opened this issue Feb 20, 2020 · 0 comments
Open

Small bug in choosing intense colors #22

fctr opened this issue Feb 20, 2020 · 0 comments

Comments

@fctr
Copy link

fctr commented Feb 20, 2020

Here's the fix:

        foreach ($options as $option) {
            if ($option >= 30 && $option < 38) {
                $fg = $option - 30;

            } elseif ($option >= 40 && $option < 48) {
                $bg = $option - 40;
            } elseif ($option >= 90 && $option < 98) { // This needs to be added
                $fg = $option - 80; // This needs to be added
            } elseif (39 == $option) {

...
}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant