colors

How to make colours on one screen look the same as another

Given two seperate computers, how could one ensure that colours are being projected roughly the same on each screen? IE, one screen might have 50% brightness more than another, so colours appear duller on one screen. One artist on one computer might be seeing the pictures differently to another, it's important they are seeing the same ...

How can I correct color banding in windows phone 7?

My windows phone 7 app has very nice background images but they are being destroyed by color banding on a 16bit color device. Is there a way I can correct this? I have tried saving in several different modes in photoshop to no avail. ...

C# apply Color to Font

I have code like this. System.Drawing.Color col = System.Drawing.ColorTranslator.FromHtml("#101B83"); System.Drawing.Font nameFont = new System.Drawing.Font("Tahoma", 10); System.Drawing.Font birthdayFont = new System.Drawing.Font("Tahoma", 6); System.Drawing.SolidBrush drawBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Blac...

Create or manipulate EPS files using .NET

I have to create thousands of individual EPS (Encapsulated PostScript) files. These files will be printed by a company that uses a Roland printer and software. The printer software only accepts eps files. So this is the procedure I've implemented using a custom vector graphics library: Create an individual bitmap (this works) Draw a r...

Compare RGB colors in c#

Hello, I'm trying to find a way to compare two colors to find out how much they are alike. I can't seem to find any resources about the subject so I'm hoping to get some pointers here. Idealy, I would like to get a score that tells how much they are alike. For example, 0 to 100, where 100 would be equal and 0 would be totally different...

how to set custom color of table row

how to set custom color of table row when it is clicked... i mean i don't want that blue color which appear by Default.... ...

What is the most elegant way to randomly set a page background color between two choices?

So I run this site: http://sometimesredsometimesblue.com And more or less out of curiosity I was wondering if there was a more concise/elegant/interesting manner of how to code the... "functionality". var redOrBlue=new Array("#0000FF", "#FF0000") document.bgColor=redOrBlue[Math.floor(Math.random()*redOrBlue.length)] There's nothing ...

how to set header font color in Latex

Is it possible to change the header font color in Latex? ...

Color filter in MATLAB

For this picture: How do I make filter that returns true on brown color (insect) and false on background? ...

How to change the color of the a WPF `<Separator />`?

I use <Separator /> in my form but don't know how to change its color. None of Border /Foreground/Background does exist. Plese help. ...

Changing Gridview row background color when editing ?

Hi all, I'm having some trouble with editing a gridview row's background color when Editing it. The thing is, I am using the RowDataBound event method to change e.Row.BackColor based on a criteria when displaying the report( 3 different colors depending on result ). For the rows that don't fall under that criteria, a GridView's property...

what's the max range for colors in this format: #AABBCC ?

How can I convert colors from (N, N, N) format to #AABBCC (and #AAABBBCCC) ? thanks ...

Setting shadow color for the title of UIButton in the nib

Hi, I am developing a simple iPhone application. I want to set the shadow color for the title of a UIButton in the nib. Can someone help me in finding the set shadow color for the title in the nib? Thanks and Regards, Deepa ...

How can I set the android preference summary text color?

On my preference screen I have a preference that when clicked opens a color picker dialog. What I would like to do is when the user selects a color, that the text summary of the preference is displayed in that color. I know I can have the summary set up like this, Currently <font color="#ff0000">this color</font> and have it display in...

flip and rotate a color image in MATLAB

How do I flip a color image (RGB) in MATLAB? The fliplr does not seem to work without losing the color contents, as it only deals with 2D. As well, the imrotate may not rotate color images. ...

How to change the colour of a databound html item at runtime?

I have some html which displays data from my database. Shown below is a line of code that shows if an item is enabled. What I would like to do is set its colour so that it is green when enabled and red when disabled. Can I add some javascript to this line to do this? <asp:Label ID="ifmgr_ase_enabled" runat="server" Text="<%# DataAdapter...

Displaying PDF documents on iPad - Color Problems

I've built a PDF reader for the iPad and I've noticed some color problems when doing a side-by-side comparison of the document in preview verus the simulator and device. The best way to describe it is to say that the colors have become more intense. Any discrepancies between similar colors used in close proximity have become more notic...

Android table with columns with text and color elements

Hi, I want to create a table layout in android. It should look a bit like the calendar on my HTC Desire with HTC Sense. What I want is a 4 rows: 1: Small area with a specific color (color read from database, dynamic) 2: Text 3: Text 4: text I have successfully created some tables out of a list view, by creating a list_item.xml where ...

Given an R,G,B triplet and a factor F, how do I calculate a “watermark” version of the color?

I have an (R, G, B) triplet, where each color is between 0.0 and 1.0 . Given a factor F (0.0 means the original color and 1.0 means white), I want to calculate a new triplet that is the “watermarked” version of the color. I use the following expression (pseudo-code): for each c in R, G, B: new_c ← c + F × (1 - c) This produces so...

Is it possible to change the color of the notification bar?

The iPhone gives the app the ability to change the notification bar's color so you can have it match your app's design without having to hide it completely. Is there a way to change the notification bar color in Android? I'm looking to have it force black with white text to be less visually present while using the app, but still there....