HOW we can convert the Colour name into Haxadecimal Value?
For example black colour hava #000000 decimal value...
Go to this website and you will understand everything https://htmlcolorcodes.com/
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!
Zeroboy you are welcome 😊
</𝚜𝚌𝚘𝚛𝚙𝚒𝚘𝚗> stay happy boy