question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support of HSV (HSB)

See original GitHub issue

Hello!

Thanks for module, it looks like a fine addition for custom function passed to node-sass!

However, I see that it supports right now only HSL model and allows to get L (lightness).

Are there any plans to add support of HSV (or also known as HSB) model, where last value represents not lightness, but brightness? This model used, for instance, in Adobe products.

You can read a bit more details here: https://github.com/sass/sass/issues/2192

What we want to achieve in result is ability to convert HSV model to HSL, so that Sass could be provided with HSV-based color adjust function.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
ArmorDarkscommented, Mar 29, 2017

Just in case someone stumble upon this issue too, there is another tool which seems to be doing similar thing, but also supports HSV and CMYK: https://github.com/One-com/one-color

1reaction
cdonohuecommented, Mar 26, 2017

Thanks for the suggestion, @ArmorDarks. I’ll look into this and ping you when I have a PR ready.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support HSV\HSB color model · Issue #2192 · sass ... - GitHub
Hello It would be great to have Sass adjust-color function support HSV color model. This can be done by providing additional $hsv: true ......
Read more >
HSL and HSV - Wikipedia
HSL (for hue, saturation, lightness) and HSV are alternative representations of the RGB color model, designed in the 1970s by computer graphics researchers ......
Read more >
HSB vs HSL vs HSV - Stack Overflow
No. HSB is the same as HSV, but HSL is different. All these are used as a friendly way to represent RGB colors....
Read more >
HSV | Coding Help Wikia - Fandom
HSV, (also known as HSB or HSL), is a way of specifying colors. ... You can also search up something like "shades of...
Read more >
Colour space conversion - Part 1 - HSV to RGB - YouTube
In this episode, I focus on how to convert from the HSV colour space to RGB, with code in C++. Part 2 of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found