Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Dark text on dark colors

Posted on 2011-03-15
4
406 Views
Last Modified: 2012-08-13
I am developing a customized appointment scheduling system. I will allow users to select their appointment color using a color picker. However, the color of the appointment text will always be black

I will have an issue if the user selects a dark color. Please provide a solution to any ONE of the given below options:

1) Allow me to ensure the color picker displays only light colors
2) Allow me to give a white glow to the appointment text so that no matter what background it is on, it will always show clearly

Thanks
0
Comment
Question by:RTKHOT
  • 2
  • 2
4 Comments
 

Author Comment

by:RTKHOT
ID: 35144967
After reviewing my question above, i realized that I have not described it properly.

The user will select an appointment color that will be a background color. So it will appear as a square shape on the calendar. The description text of the appointment will be inside this box.

I am providing the user to choose the color of the background, but the description text will always be black

thanks,
0
 
LVL 20

Expert Comment

by:ChristoferDutz
ID: 35146078
Well you could define the colors in your ColorPicker.
http://livedocs.adobe.com/flex/3/html/help.html?content=controls_18.html
Another option would be to use the default dataProvider of the ColorPicker and to filter it (as the ffffff is white you could set a threshold to allow only colors thats rgb values summ up to a minimum value)
0
 

Author Comment

by:RTKHOT
ID: 35146098
Could you please give a more specific answer for the RGB sum up values.

Thanks,
0
 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 250 total points
ID: 35146137
Well you have your color codes in this format:

#rrggbb

All are values of 00 (0) to ff (255).
So if you simply add the color value of r, b and c you shoud get a value of 0 to 765. If for example you set the minimum to 500 you would certainly get some pretty light colors.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
Some of the SEO trends we might expect in 2017.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question