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

Feature request: isWarmColor, isCoolColor, isDarker, isLighter, isHarmonious #201

Open
ex-tag opened this issue Nov 26, 2018 · 2 comments
Open

Comments

@ex-tag
Copy link

ex-tag commented Nov 26, 2018

Warm colors have more red, and cool colors have more blue.
Please add isWarmColor() and isCoolColor() methods.

To check RGB color, code might look like...

red = 0
blue = 0

if (red > blue) {
  isWarmColor = true
  isCoolColor = false
}
else if (red < blue) {
  isWarmColor = false
  isCoolColor = true
}
else {
  isWarmColor = false
  isCoolColor = false
}
@ex-tag ex-tag changed the title Feature request: isWarmColor, isCoolColor Feature request: isWarmColor, isCoolColor, isDarker, isLighter, isHarmonious Dec 9, 2018
@ex-tag
Copy link
Author

ex-tag commented Dec 9, 2018

isWarm - checks if color is Warm color
isCool - checks if color is Cool color
isWarmer - checks if one color is warmer than another color
isCooler - checks if one color is cooler than another color
isLighter - checks if a color is lighter than another color
isDarker - checks if a color is darker than another color
isHarmonious - checks if two colors are harmonious

@hendrul
Copy link

hendrul commented Oct 2, 2019

Isn't there any warmer/cooler manipulators?

@mmir98 mmir98 mentioned this issue Dec 15, 2020
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

No branches or pull requests

2 participants