+ 3
HOW we can convert the Colour name into Haxadecimal Value?
For example black colour hava #000000 decimal value...
5 Answers
+ 6
Go to this website and you will understand everything
https://htmlcolorcodes.com/
+ 5
Use a dictionary (sometimes called an object).
Or, you could use JS to display that colour on a hidden canvas, then get the image data and convert to hexadecimal.
If you want to learn more about the latter, ask and I can assist.
Happy coding!
+ 2
+ 1
Zeroboy you are welcome ๐
+ 1
</๐๐๐๐๐๐๐๐> stay happy boy