GitHub - ayushoriginal/Optimized-RGB-To-ColorName: This API gives closest approximation of an RGB value to a set of color names. It is highly optimized for performance and scalability.
![scripting - Get Hex triplet for color and real 256 RGB from diffuse Color using python - Blender Stack Exchange scripting - Get Hex triplet for color and real 256 RGB from diffuse Color using python - Blender Stack Exchange](https://i.stack.imgur.com/tfRcU.png)
scripting - Get Hex triplet for color and real 256 RGB from diffuse Color using python - Blender Stack Exchange
![node editor - Blender 2.8 (python) - input RGB doesn't match hex color nor actual color - Blender Stack Exchange node editor - Blender 2.8 (python) - input RGB doesn't match hex color nor actual color - Blender Stack Exchange](https://i.stack.imgur.com/yrC4O.png)