ColorToHex
Converts a TColor to a HTML Hex value
AI
Podsumowanie AI: 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.
Kod źródłowy
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
Oryginalne komentarze (3)
Odzyskane z Wayback Machine