You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found blend.scale() to work in an unexpected way. I'm not sure if I'm simply mistaken or if maybe this is a bug (or something else). For example, I had a fairly dark test color #592e13 which has a lightness of ~24%. When I used blend.scale() to reduce it by 4% (see below) the lightness of the resulting color was ~23% and not the expected ~20%:
So, it looks like $lightness is being interpreted as the percent of the current color's lightness and not in overall lightness (i.e. relative to 100% lightness). Is this intentional?
The text was updated successfully, but these errors were encountered:
I found
blend.scale()
to work in an unexpected way. I'm not sure if I'm simply mistaken or if maybe this is a bug (or something else). For example, I had a fairly dark test color#592e13
which has a lightness of ~24%. When I usedblend.scale()
to reduce it by 4% (see below) the lightness of the resulting color was ~23% and not the expected ~20%:So, it looks like
$lightness
is being interpreted as the percent of the current color's lightness and not in overall lightness (i.e. relative to 100% lightness). Is this intentional?The text was updated successfully, but these errors were encountered: