colors

How to do a dregradê on wx.Panel Background?

Hello, I want to color the background (SetBackgroundColour) of a wx.Panel with a blue to black degradê. How can I make it? ...

PHP Work out colour saturation

Hi there, lets say i have the following RGB values: R:129 G:98 B:87 Photoshop says the saturation of that colour is 33% How would i work out that percentage using PHP and the RGB values? ...

Flex - Remove horizontallist rollover color

Hi Community! I'd like to remove the rollovercolor of a horizontallist (my component has a background image). I've tried using a css style sheet by setting the "roll-over-color" property to "transparent"... But I get a black background >_< Could anyone help me with this? Thanks a lot =) Regards, BS_C3 ...

WPF ComboBox: background color when disabled

I currently use this style for my ComboBox in WPF: <Style TargetType="ComboBox"> <Setter Property="Foreground" Value="White"/> <Setter Property="Background" Value="#303030"/> <Setter Property="BorderBrush" Value="#000000"/> </Style> How can I change it to specify the background color when the ComboBox i...

Java - How to convert a Color.toString() into a Color ?

Hi, In order to save Color attributes of a graphical object in my application, I saved the string representation of this Color in a data file. For instance, for red I save: java.awt.Color[r=255,g=0,b=0]. How can I convert this string representation into a Color so that I can use it again after loading my data file ? Thank you. ...

How to dynamically change background colour of datagrid row?

Hi, It seems like there are various hacks out there to change the background colour of the row of a datagrid but all of them seem to happen at render time. See: http://stackoverflow.com/questions/748213/setting-background-color-for-datagrid-row-in-adobe-flex I have a datagrid where I need to change row colours to red then back to norm...

css( "background-color", "" ) not working

<table> <tr> <td class="temp" onclick="removeBGColor();"> fdgdfgdfgdfgdf </td> </tr> </table> <style type="text/css"> .temp { background-color: red; } </style> <script language="javascript"> function removeBGColor() { $(".temp").css("background-color", "" ); } </script> it will not remove th...

Qt Qbrush issue

What is the difference in the following code, QGraphicsScene * scence = new QGraphicsScene(); QBrush *brush = new QBrush((QColor(60,20,20))); scence->setBackgroundBrush(*brush); QGraphicsView *view = new QGraphicsView(); view->setScene(scence); //view->setBackgroundBrush(*brush); //view->setCacheMode(QGraphicsView:...

color code in X/HTML , CSS..

In how many ways we can give color info in X/HTML, css? I know some Hex color name rgba is there any other method? and which method is preferred to use and which not? Please give explanation. ...

Should we only use Web-Safe Colors while in design/coding/development for website/apps?

Should we only use Web-Safe Colors while in design/coding/development for website/apps? ...

Selected cell : Change background color

Hi, This is for the main browse menu. I have a View. Inside that is a UITableView. I am populating this UITableView with my browse menu items. (icon1 - menuitem1, icon2 - menuitem2, icon3 - menuitem3 and so on) Now the problem is: Some of the menuitems, upon clicking go to a static UI like Send Email form, FAQ screen etc., And some of ...

as3 / flex builder - is it possible to change the color of a trace statement ?

howdy all - i suspect the answer here is "no", but i'm wondering if it's possible to set the color of trace statements which appear in flex's console pane. ie, i have a few "levels" of log statements, and i'd like the warnings and errors to really stand out. tia, Orion ...

Silverlight Column Chart series and data based colors

How can I build a Column Chart with its chart item's color retrieved from data that is bound to or computed by the chart series? ...

Turning the background to gray scale in wpf

Consider a window with loads of multi colored controls on it. I want to put a panel on top of this when some trigger happens in the form such that all the controls looses its color (everything appears in gray scale) except the panel which has just popped up. Can somebody help me with this ?? ...

iPhone : UITableViewCell : changing background color of selected cell

Does anyone know how to change the background color of a cell using UITableViewCell, for each selected cell? I created this UITableViewCell inside the code for TableView. ...

Show Color on WrkStat.aspx Page

On the WrkStat.aspx page I would like to add emphasis to the status of each approval stage. e.g. I want to show "Approved" in green and "Rejected" text in red. I tried editing the page in SharePoint Designer but it gives an error about application.master. Does anyone know how to add color to this wrkstat.aspx page or any custom workfl...

Is this a valid use for blocks in Obj-C?

In my constructor, I want to create a random color. Therefore, I need three random 7-bit floats in the range of 0…1 that make up the red, green and blue component of the color. Instead of writing the rather long random() % 128 / 128.0 three times, I put that in a block: CGFloat (^randFloat)() = ^(){ return random() % 128 / 128.0; }; co...

iPhone Table Background Color Problem

I have these two lines of code: Line 1: self.tableView.backgroundColor = [[UIColor alloc] initWithRed:((float) 102.0f) green:((float) 204.0f) blue:((float) 255.0f) alpha:1.0f]; Line 2: ...

detect the most used colour in an image using python

Hi, I want to find the most used colour in an image using python. for example detect the colour of the object in the following image http://www.shopcrazy.com.ph/wp-content/images/2007/02/shiny-bags-01.jpg. how to detect the base colour from the RGB codes(example - red in the above image). ...

B-V to Kelvin formula

Whilst looking for a "B-V color index to temperature conversion formula" I found this javascript: var C1 = 3.979145; var C2 = -0.654499; var C3 = 1.74069; var C4 = -4.608815; var C5 = 6.7926; var C6 = -5.39691; var C7 = 2.19297; var C8 = -.359496; bmv = parseFloat(BV); with (Math) { logt= ...