Hello,
I have developed an HTML/JavaScript file to generate SVG cutting files from a CSV list for engraving various products with distinct settings (colors).
In the generated SVG file, there is a frame with either a T1 or T2 color code, and within this frame, there’s an element designated for engraving, represented by color 02, which corresponds to hex code #ff0000.
To ensure accuracy, I configured my design in Lightburn software using the specific colors from the color pallete, then exported it to identify the equivalent HEX color codes (opening the SVG in Chrome browser and checking it with inspect element). Following this, I adjusted my HTML file to produce the correct code matching these colors and imported it back into Lightburn.
The colors are mostly accurate. For instance, elements set to #ff0000 correctly appear as color 02 in Lightburn. However, I’m facing an issue with colors #0c96d9 (T2) and #f36926 (T1). Instead of being recognized as T2 and T1, they are being matched to the nearest available colors, which are 14 and 05, respectively.
Could you help me understand what might be causing this discrepancy?