ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Colorset with good contrasts?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
PeterPanino Posted - Jun 05 2018 : 16:11:31
I need to create a list of n distinct colors. When placed in any order, each of these colors should have a good contrast to each neighboring color.

The colors should have the same characteristics such as color saturation, brightness, etc.

Any idea?
2   L A T E S T    R E P L I E S    (Newest First)
PeterPanino Posted - Jun 06 2018 : 09:13:22
Thank you. I have also experimented with my own palette-generating algorithms, for example:

for i := 0 to FlowPanel1.ControlCount - 1 do
    TPanel(FlowPanel1.Controls[i]).Color := Vcl.GraphUtil.ColorHLSToRGB(i * 38, 128 + i * 7, 128 + i * 7);


xequte Posted - Jun 05 2018 : 17:00:34
Hi Peter

Our palette generation methods are:

https://www.imageen.com/help/GenerateColorLuminancePalette.html
https://www.imageen.com/help/GenerateGradientPalette.html

Nigel
Xequte Software
www.imageen.com