I don't know what I did but for a period of time my TabWidget had white colored tabs which looked really nice. I never set a theme or background/foreground color in my project at all. The next time I compiled it it reverted back to the gray tabs. My application is using the default dark theme. Even if I set the application theme to light...
Ive specified white backgrounds for pretty much all widgets and it works, except when scrolling. The background container goes black during scrolling resulting in annoying flickering.
...
I have 2 colors #DCE7FA and #CADBF7. Want the intermediate color(a kind of Arithmetic mean).
Hexadecimal arithmetic median does not work.
How to proceed?
...
I'm making a small app where children can fill preset illustrations with colours. I've succesfully implemented an MS-paint style paint bucket using the flood fill argorithm. However, near the edges of image elements pixels are left unfilled, because the lines are anti-aliased. This is because the current condition on whether to fill is c...
Hello all,
I am not sure if its possible but I would like to create some sort of function where you pass in a string such as "yellow" or "green" and it returns its hex code or the range of hex codes that greens or yellows fit into.
Is this possible in PHP? If not possible, I am willing to try anything else that can do this!
Thanks all...
im trying to create an image filter in OpenGL CE. currently I am trying to create a series of 4x4 matrices and multiply them together. then use glColorMask and glColor4f to adjust the image accordingly. I've been able to integrate hue rotation, saturation, and brightness. but i am having trouble adding contrast. thus far google hasn't be...
I didn't find any option for that, so I suspect that some views follow the color pattern of the operating system. I'm currently using OS X, and it seems like changing the default background color it's not possible either.
What I'm trying to accomplish is to create a dark background theme, but customization seems only possible on some of...
I am using php and i am iterating a table with a result array ... I want to add row color and alternate row color to it.... How to do so? Any suggestion...
<table id="chkbox" cellpadding="0" cellspacing="2"
width="100%" class="table_Style_Border">
<tr>
<td style="width:150px" class="grid_header" align="center">RackName<...
I've tried achieving a hover/selected color change for a particular field, but I'm thinking jQuery is the answer. I've looked into some button click tutorials, but maybe I'm not just seeing it or doing it correctly.
The idea here is that when a user hovers over a Headline, the background color changes, when they click the headline to ex...
I am current working on a project where, as different users add text to a document, I would like the color of the text to change.
Originally, I was using C#'s predefined color values and just putting the ones I wanted to use into an enum in my application and cycling through the colors as different users added annotations. This works f...
Hello all,
I have come across this great function/command. Colour to RGB, you can do this:
col2rgb("peachpuff")
//returns hex
It will return one hex value. I want to extend this using Perl, Python or PHP but I want to be able to pass in, for example, "yellow" and the function returns all types of yellows - their hex/rgb/?/etc value.
...
I need 2 different colours: Yellow, Green. Is it smart to use Quartz filters on standard progress bar, because sometimes I can see rendering problems after doing so.
...
I need to draw a circle onto a bitmap in a specific colour given in Hex. The "Brushes" class only gives specific colours with names.
Bitmap bitmap = new Bitmap(20, 20);
Graphics g = Graphics.FromImage(bitmap);
g.FillEllipse(Brushes.AliceBlue, 0, 0, 19, 19); //The input parameter is not a Hex
//g.FillEllipse(new Brush("#ff00ffff"), 0, 0,...
My father with whom I'm going to create a website (I just got him away from using Dreamweaver and font-tags) keeps talking about WebSafe colors he has to use for the background images. I keep telling him that that was about 1999 but he doesn't believe me.
What are WebSafe colors?
When and where were they needed?
What the hell anyway?
...
i'm trying to determine if a color has been supplied as an optional argument to a function. in order to determine this, i'm simply writing if(color){...} and supplying NaN if i don't want there to be a color.
however, it seems that the color black (0x000000) also equates to NaN. how can i determine if a supplied color number argument ...
Dear SO family,
I have created an iframe which contains the label, "powered by MyWebsite.site"
The "iframe itself" accepts arguments, so other webmasters may customize the appearance of it.
The problem is that since the background of the iframe could be customized, anyone can "vanish" the "powered by MyWebsite.site".
So what option do...
I am designing a system in Share Point via Share Point Designer. We have a form in my Share Point site. Users have to fill some fields in the form and send it to the approval committee. We cannot upload anything to the servers. The design is site based. Our problems are:
1- I want to add small (?) icons for the descriptions of that fi...
Let's say I've got the colour FF0000, which is red. Finding a darker colour is easy, I just type maybe CC instead of the FF, but let's say I've got the colour AE83FC, which is a complicated colour, how the heck would I find a lighter or darker version of it automatically?
I figured the easy way to do this is to convert my RGB to HSB [Hu...
Good day,
I've been trying to make this CSS code work:
table.mytable {
margin: 0;
padding: 0;
border: 0;
font-size: 0.8em;
border-collapse: collapse;
}
table.mytable td, table.mytable th {
width: auto;
padding: 2px 4px;
vertical-align: top;
}
table.mytable th {
color: #fff;
background:url(images...
Hi,
I'm trying to interpolate between two colours in HSV colour space to produce a smooth colour gradient.
I'm using a linear interpolation, eg:
h = (1 - p) * h1 + p * h2
s = (1 - p) * s1 + p * s2
v = (1 - p) * v1 + p * v2
(where p is the percentage, and h1, h2, s1, s2, v1, v2 are the hue, saturation and value components of the two ...