xpher
asked on
Component Colour
Is there any way to give a component a color other than the available choices. Maybe use hexadecimal?
Cheers
xpher
Cheers
xpher
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Many thanks (again) Barry. Yes I have got a list of colours.
Cheers
Chris :))
Cheers
Chris :))
ASKER
Hi
A problem. The color with hexadecimal #A50000 is supposed to be a deep red. If I use $A50000 it is blue (a very nice blue but not red). Any ideas?
Cheers
Chris :)(
A problem. The color with hexadecimal #A50000 is supposed to be a deep red. If I use $A50000 it is blue (a very nice blue but not red). Any ideas?
Cheers
Chris :)(
LOL,Yes i just tried that and is very blue :-)
the answer seems to be everything is backwards.
ie:
procedure TForm1.FormCreate(Sender: TObject);
begin
memo1.color:=$0000A5; {this = deep red}{nice color btw}
end;
it goes $(hex)00(blue)00(green)00( red)
so ff0000 is blue not red as should be..
strange huh :-)
Regards Barry
the answer seems to be everything is backwards.
ie:
procedure TForm1.FormCreate(Sender: TObject);
begin
memo1.color:=$0000A5; {this = deep red}{nice color btw}
end;
it goes $(hex)00(blue)00(green)00(
so ff0000 is blue not red as should be..
strange huh :-)
Regards Barry
ASKER
Many thanks Barry (again)(again).
Cheers
Chris:))
Cheers
Chris:))
if you need a list of hex colors ,i got mine from a website for teaching html which as you probably know uses hex for the colors.maybe you have a list in a html book...
i could probably find you a list if you need ,just say if so..
Barry