I respond myself :) 1) "shl 8" is necessary to get TFPColor values (The TFPColor record contains the Red, Green, Blue and Alpha channel values as left adjusted 16 bit words, with increasing intensity from 0 to $FFFF). Not TColor values as I thought.
2) 3 digits case has been just fixed in revision 55441. Best regards. Sandro Cumerlato On Jul 4, 2017 7:47 PM, "Sandro Cumerlato" <[email protected]> wrote: Hello, looking at revision 55440 I noticed two strange things: 1) 6 digits case: I do not understand why you "shl 8" values. Am I misunderstanding something? 2) 3 digits case: 3 digits codes should be shorthand, #FED should correspond to #FFEEDD html color IIRC (https://stackoverflow.com/ questions/3108860/how-to-use-3-digit-color-codes-rather- than-6-digit-color-codes-in-css) Thank you for your clarifications. Sandro Cumerlato
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
