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
Look at simplifying the algorithm to a string to number between 0-359 for hue.
The user can then request a saturation, lightness, alpha separately.
e.g.
convert(hue: number | boolean, saturation: number | boolean, lightness: number | boolean)(str: string)
create the factory fn first with your rules.
if first arg is true then a number will be generated for the string
if false it will use the default (hue: 50 saturation: 100, lightness: 50)
when given a number it will fix as that.
this could be useful when have different color groups. i.e. in data visualisation for subgroups.
The text was updated successfully, but these errors were encountered:
Look at simplifying the algorithm to a string to number between 0-359 for hue.
The user can then request a saturation, lightness, alpha separately.
e.g.
create the factory fn first with your rules.
if first arg is true then a number will be generated for the string
if false it will use the default (hue: 50 saturation: 100, lightness: 50)
when given a number it will fix as that.
this could be useful when have different color groups. i.e. in data visualisation for subgroups.
The text was updated successfully, but these errors were encountered: