I know this question has been asked here already but there hasn't been any answer that make sense and the developer is a nightmare to get hold of.
Using PSD.js the colours for text characters don't match RGB, RGBA or CMYK, there are 5 numbers in the a colour arrays, they don't even match the text colour in the Photoshop file if you try to compare any of the numbers to the RBG or CMYK values.
An example what PSD.js is showing for colours of a particular part of text shows this array:
[3] => Array
(
[0] => 27
[1] => 185
[2] => 116
[3] => 0
[4] => 255
)
You can clearly see these have no relevance to any colour codes I have seen before. These numbers are supposedly representing this colour: #db6971 - but none of the numbers match anything, the RGB for that is 219,105,113 and CMYK is 11%,72%,46%,0%
So does anyone have a clue what is going on here? I am trying to render this text to html but I can't set the colour without actually knowing what these numbers are supposed to mean.