Search the Community
Showing results for tags 'hsl'.
-
Would anybody happen to know the algorithm used to convert HSL color space to RGB color space as was done in the 'Color HSL' section of 'Color Tutorial'? The link to this is: https://www.w3schools.com/colors/colors_hsl.asp
-
I really like the idea of hwb! I can't get it to work! This works... var str = "hsl(" + i + " , 50%, 50%)" ; ctx1.strokeStyle = str; This does not work. I get a this is not a function error from Google. var str = "hwb(" + i + " , 100%, 0%)" ; or //ctx1.strokeStyle = "rgb("+ hwbToRgb( i , 0, 0).r + " , " + hwbToRgb( i , 0, 0).g + ", " + hwbToRgb( i , 0, 0).b + ")"; See small attached code for working program of rotating cube. newminimumCp.html