-
It would be great to have the reverse conversion (either in this repository or a sister repository) so there's a matched set :-)
-
In Line 99 $s is calculated like this:
`$s = 1 - abs(2 * $l - 1);`
According to Wikipedia S is calculated be dividing Chroma by the therm above. For me changing the line to
`$s = $chroma / (1 - ab…
-
Seems like
>
[The mythical 10x programmer](http://antirez.com/news/112) - Salvatore Sanfilippo (author of Redis)
From [people management section](https://github.com/kuchin/awesome-cto?tab=read…
-
This is very likely **not** perfect but it seems to pass any RGB color I throw at it.
```sh
# rgb2hsl - usage: rgb2hsl r g b
rgb_to_hsl() {
local r g b
local h s l
local min max
…
-
感谢制作这个工具!
不过我刚做了一些RGB2HSL, HSB的转换。为了验证准确性,转换回去看了一下。发现RGB2HSL中L的值一直是有一些问题,H和S正确,RGB2HSB正确。转换回去的功能上HSB2RGB整体有一些问题。因为没有读代码,主要是发出来也希望后续的使用者会注意到这个问题。
-
第98行,计算s的第三个if,应该改成`(max - min) / (2 - (max + min))`,参考[wiki](https://zh.wikipedia.org/wiki/HSL%E5%92%8CHSV%E8%89%B2%E5%BD%A9%E7%A9%BA%E9%97%B4)
```
//计算s
if ( l == 0 || max == min ) {
s = …
-
Hello, I try different values to do this
```
initialValue: '#000000'
initialValue: {hex: '#000000'},
initialValue: {color: {hex: '#000000'}}
```
end i got error
-
Hi! I tried the shader on two different android phones and on got different results, on the top is the unaltered image and in the bottom the altered one.
Samsung SCH-1535 Android 4.4.2:
![image](htt…
-
Hello. Really enjoy this plugin, thanks for creating it. Sorry if this is not the appropriate place to ask this - My question: is there a way to 'stop' hueristics on an element once it's been initiali…
-
### Describe the project you are working on
A platformer where the character becomes brighter or changes color when hurt or invincible
### Describe the problem or limitation you are having in your p…