Eye-friendly colours to use in plot() in dark background

I will start off here with a list of eye-friendly colors to use in plot() in dark background. Please add if you know more.

I will use this thread for future reference.

colorWhite
colorRed
colorBrightGreen
colorLightGrey
colorGold
colorYellow (looks too similar to colorGold)
colorAqua

For what it is worth, there is also colorDefault constant that is automatically adjusted depending on background so it is visible. It is dark on light backgrounds and light on dark backgrounds. It is connected with chart themes.
It is recommended to use colorDefault if you want Plot to work with any chart theme.

1 Like

Thank you. This is new to me but colorDefault is only one color.

If I have several plots on the same pane, several different colors are needed. If only 1 plot is displayed, colorDefault is useful.

@thankyou18 I think "eye-friendly" is all in the eye of the beholder. But some ideas for you, take a look at the many options.
AmiBroker color palette, Tools-->Preferences-->Color
image
Other useful functions and links,

ColorRGB( red, green, blue )
ColorHSB( hue, saturation, brightness )

https://www.amibroker.com/guide/afl/colorrgb.html

https://www.amibroker.com/guide/afl/colorhsb.html

I can't recall where I got this from or I would include the appropriate link,

image

5 Likes

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.