Click here to Skip to main content
15,879,239 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a pic of some form which i like its colors
i have open it in adobe and get its color code
put the color in my background WPF form but it gives different color
i have used also paletton.com but same different
i have used sharp dev (tool to create plug in for revit) and its working fine
what is the wrong on my visual studio?
why i can't get the exact same of the color in adobe?
many thanks in advance
(i don't know how to add a pic to clear it more)

What I have tried:

i have used also paletton.com but same different
i have used sharp dev (tool to create plug in for revit) and its working fine
Posted
Updated 16-Jul-19 12:04pm

Colors will look darker or lighter depending on the background; you'll only get a match (visually) if you overlap.

If you want the "true" color, use a color picker; don't "eyeball".

You can use a screen capture in Paint.Net (for example) and the color picker to get RGB values for the WPF app.
 
Share this answer
 
many thanks for your replay
what i'm doing is that i capture the color i like then paste photo into adobe
use picker to get the color number
put the number in wpf form but get a little bit different color not only darker or lighter
ie i pick dark blue but in wpf it moves to gray or getting more blue, some thing like that
in windows form colors are correct
is window chrome effect on that?
thanks again
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900