Home
Info
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
All Forums
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
How to change Value of color?
Note:
You must be registered in order to post a reply.
To register,
click here
. Registration is FREE!
View
Small
Medium
Regular
Large
UserName:
Password:
Format
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
8
10
12
14
18
24
Color
█████
█████
█████
█████
█████
█████
█████
█████
█████
█████
█████
█████
█████
█████
Message
Emoji
Check here to include your profile signature.
Check here to subscribe to this topic.
T O P I C R E V I E W
stkwon
Posted - Nov 02 2018 : 11:40:46
i want use this color on ShapeLayer
original RGB values are R - 174, G - 94, B - 255
RGB integer is 11427583
RGB Hex is AE5EFF
so, i coded like this.
and this is result
i wrote $AE5EFF color and 11427583 RGB values.
but. different color after display..
i wrote color value 16735918. then i can see original color.
what is different ?? that RGB value (AE5EFF and 11427583) is wrong color ?
how can i get 16735918 color value?
1 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Nov 02 2018 : 16:16:56
Hi
You are not setting a Delphi color correctly. The order is BGR and you also need a hightest-order byte of two.
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Colors_in_the_VCL
You can just use:
https://www.imageen.com/help/RGB2TColor.html
Nigel
Xequte Software
www.imageen.com