Use JS code to write a color picker for web pages, which is used to select colors. Click any color block with the mouse and the color value will pop up. When you want to use a certain color but do not know the color value Sometimes, using this small special effect can tell you what the color value is, which is more convenient.