Click here to Skip to main content
15,900,713 members
Home / Discussions / C#
   

C#

 
AnswerRe: colourful context menu Pin
Paul Conrad13-Jul-07 12:05
professionalPaul Conrad13-Jul-07 12:05 
QuestionChat Coading Pin
Sathiya Narayanan10-Jul-07 0:20
Sathiya Narayanan10-Jul-07 0:20 
AnswerRe: Chat Coading Pin
EvilInide10-Jul-07 0:27
EvilInide10-Jul-07 0:27 
AnswerRe: Chat Coading Pin
Chintan.Desai10-Jul-07 2:24
Chintan.Desai10-Jul-07 2:24 
QuestionSession time Pin
king2010-Jul-07 0:16
king2010-Jul-07 0:16 
AnswerRe: Session time Pin
Christian Graus10-Jul-07 1:26
protectorChristian Graus10-Jul-07 1:26 
QuestionCrystal Report Error Pin
Syed Shahid Hussain10-Jul-07 0:15
Syed Shahid Hussain10-Jul-07 0:15 
QuestionColor Managment Pin
Stevo Z10-Jul-07 0:12
Stevo Z10-Jul-07 0:12 
Hi,

I have a custom button, that can have any background Color. Now user can pick background color, byt I don't want user to pick it's forecolor (text color) . I want to calculate that color myself. Can you help me out with some algorithm to do this = to calculate a fore color that is diffrent enough from specified background so that it is perfectly readable for human eye ?

I understand HSL Color scheme and tried to create something by myself but it was not good enough and I don't want to put it here so you won't be influenced by my sollution.

My only requirement is to keep that text color in grayscale.

thanx

PS: I've tried luck at Graphics department but not much people visit that forum... Frown | :(
AnswerRe: Color Managment Pin
Christian Graus10-Jul-07 1:23
protectorChristian Graus10-Jul-07 1:23 
GeneralRe: Color Managment Pin
Stevo Z10-Jul-07 1:42
Stevo Z10-Jul-07 1:42 
AnswerRe: Color Managment Pin
Luc Pattyn10-Jul-07 1:30
sitebuilderLuc Pattyn10-Jul-07 1:30 
GeneralRe: Color Managment Pin
Stevo Z10-Jul-07 1:39
Stevo Z10-Jul-07 1:39 
GeneralRe: Color Managment Pin
Luc Pattyn10-Jul-07 2:20
sitebuilderLuc Pattyn10-Jul-07 2:20 
GeneralRe: Color Managment Pin
Stevo Z10-Jul-07 3:00
Stevo Z10-Jul-07 3:00 
GeneralRe: Color Managment Pin
Luc Pattyn10-Jul-07 3:11
sitebuilderLuc Pattyn10-Jul-07 3:11 
GeneralRe: Color Managment Pin
Stevo Z10-Jul-07 3:45
Stevo Z10-Jul-07 3:45 
Questionabout C# Pin
king2010-Jul-07 0:07
king2010-Jul-07 0:07 
AnswerRe: about C# Pin
king2010-Jul-07 0:12
king2010-Jul-07 0:12 
AnswerRe: about C# Pin
Christian Graus10-Jul-07 1:21
protectorChristian Graus10-Jul-07 1:21 
GeneralRe: about C# Pin
Vikram A Punathambekar10-Jul-07 5:05
Vikram A Punathambekar10-Jul-07 5:05 
AnswerRe: about C# Pin
Chintan.Desai10-Jul-07 2:28
Chintan.Desai10-Jul-07 2:28 
GeneralRe: about C# Pin
Le centriste10-Jul-07 2:41
Le centriste10-Jul-07 2:41 
AnswerRe: about C# Pin
Tony Lambert17-Dec-07 12:47
Tony Lambert17-Dec-07 12:47 
AnswerRe: about C# Pin
PhilDanger10-Jul-07 5:11
PhilDanger10-Jul-07 5:11 
AnswerRe: about C# Pin
Scott Dorman10-Jul-07 7:10
professionalScott Dorman10-Jul-07 7:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.