ColorToHex
Converts a TColor to a HTML Hex value
AI
Yapay Zeka Özeti: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Kaynak Kod
function ColorToHex(Inp: TColor): String; var tmp: Longint; begin tmp:= ColorToRGB(inp); Result:= '#' + IntToHex(GetRValue(tmp),2) + IntToHex(GetGValue(tmp),2) + IntToHex(GetBValue(tmp),2); end; Upload Upload
Orijinal Yorumlar (3)
Wayback Machine'den kurtarıldı