Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0

Widget Based GUI API Color selection


Actually, i am working on an widget based GUI API. My problem is, that i dont have very much experiences with colors, and i have to select the standard-colors for the config file.

Actually, the cfg-fyle looks like this:

local cfg = {
	colors = {
		desktop = 0xE6E6E6,
		background = 0xD8D8D8,
		frame = 0x000000,
		selectedBackground = 0xD8D8D8,
		selectedForeground = 0x00302F,
		selectedFrame = 0x00FFFF,
		disabledBackground = 0x81F7F3,
		disabledForeground = 0x424242,
		disabledFrame = 0x610B0B,
		exitBackground = 0xFF0000,
		exitForeground = 0x000000
	paths = {
		widgets = "/raid/dev/API/GUI/widgets/"
return cfg

I paid attention for the following conditions:

Background (Desktop): bright, but not white

std Colors: brighter text, darker background

selected Colors: eye catching colors (big difference from the others, but not to extreme

disabled Colors: darker than the others, to show that the widget is disabled.

exit (kill runtime/Program): red


I am looking for better colors, becouse I think that there is much potential up and that colors are an important part of the GUI design.

Share this post

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.