Convert TColor values to hex strings (Views: 29)
Problem/Question/Abstract: How to convert TColor values to hex strings Answer: HexStr := Format('#%.2x%.2x%.2x;', [GetRValue(MyColor), GetGValue(MyColor), GetBValue(MyColor)]); |