Saturation (HSV) values not reflected properly
blunteshwar opened this issue · comments
In hsv format the values are in degree , %, % respectively and when we provide color value as hsv(360,1,88), it assumes '1' as '100%'. Apparently for any value x∈[0,1] it converts it in percentage and assumes accordingly.
Thus hsv(360,1,88) is considered as hsv(360,100,88) and there is practically no way to input color values hsv(360,1,88).
The issue can be seen here
The issue can be seen in the attached pictures as well where hsv(360,1,88) is assumed as hsv(360,100,88) but hsv(360,1.0001,88) is correctly rendering color.
![Screenshot 2024-04-05 at 4 33 16 PM](https://private-user-images.githubusercontent.com/32033946/319972270-84b76c78-fb4b-4cb4-bef5-6a753a369d17.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2MTM5NDIsIm5iZiI6MTcyNDYxMzY0MiwicGF0aCI6Ii8zMjAzMzk0Ni8zMTk5NzIyNzAtODRiNzZjNzgtZmI0Yi00Y2I0LWJlZjUtNmE3NTNhMzY5ZDE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDE5MjA0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI5NzgyNDFjNTRjMTgwZmYwODZmY2UzZTA1OWVhMWMxZjkyNmM2ZjIyODgxYTQ1OGZmNGQ3OTY2YjIyY2ZhNTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.a3IDt1oU266xNptyR9s5bDGo5SIyQalH3XO8mQsxt48)
![Screenshot 2024-04-05 at 4 33 31 PM](https://private-user-images.githubusercontent.com/32033946/319972308-99c7ab91-20bd-4f27-bfa0-d06b0d897f49.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2MTM5NDIsIm5iZiI6MTcyNDYxMzY0MiwicGF0aCI6Ii8zMjAzMzk0Ni8zMTk5NzIzMDgtOTljN2FiOTEtMjBiZC00ZjI3LWJmYTAtZDA2YjBkODk3ZjQ5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDE5MjA0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEyMDdmODU1ZTY4OTY2N2Q3NmZhNzYwZTdlMmVlMWUwYzRhY2Q0NmYwNmM5NjY3OTM4OWNhNGZiNGI4NWNjMjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.NYCgJIwqkdTFyML8kgGHQObRzAEU0enSmM6b6-scOKc)