Einzelnen Beitrag anzeigen

Master_BB

Registriert seit: 17. Mai 2003
285 Beiträge
 
Delphi 7 Professional
 
#12

Re: ColorBox - Color zu Hexcolor machen

  Alt 12. Jul 2004, 13:43
hm sorry bisher kappiere ich noch nicht was RGB usw ist.
und eure schnipsel laufe bisher noch nicht so ganz

Delphi-Quellcode:
  aColor := ColorBox4.Color;
  R := GetRValue( AColor );
  G := GetGValue( AColor );
  B := GetBValue( AColor );
  RGB := IntToHex(r, 2)+IntToHex(g, 2)+IntToHex(b, 2);
so hab ich das bisher und RGB gebe ich als Farbe an
font color="#'+rgb+'" usw
  Mit Zitat antworten Zitat