Click here to Skip to main content
15,921,028 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi
I am having this color mix like this in my css Red-purple in firefox it works fine but in ie it doesn't work well

what would be the poblem
Posted
Comments
Prasad Khandekar 18-Mar-13 7:03am    
Please provide details of your CSS rule.
kolisa 18-Mar-13 7:39am    
.Calls { color : red-purple
}
I want to mix these two colors and it does it well in firefox but not in ie it take purple
Prasad Khandekar 18-Mar-13 8:28am    
CSS color values can be of following formats.

color: red; // A CSS Level 1 color.
color: orange; // The only color added in CSS Level 2 (Revision 1).
color: antiquewhite; // A CSS Level 3 color, sometimes called a SVG or X11 color.
color: #0f0; // The color 'lime' defined using the 3-character dash notation.
color: #00ff00; // The color 'lime' defined using the 6-character dash notation.
color: rgba( 34, 12, 64, 0.3); // A color defined using the available functional notations.
color: currentColor; // The special keyword representing the color's value of its direct ancestor.
color: inherit;
Sergey Alexandrovich Kryukov 18-Mar-13 10:49am    
Would you post this as an answer and explain OP that mixing is not available and would not make sense?
—SA
kolisa 18-Mar-13 7:49am    
can elements warnings affect my css?

1 solution

There is no "mixing" in the sense you hoped to have, and, moreover, such mixing would not make any sense. How "red-purple" could define a color unambiguously?

Please see:
http://www.w3schools.com/cssref/css_colors.asp[^],
http://www.w3schools.com/cssref/css_colornames.asp[^],
http://www.w3schools.com/cssref/css_colorsfull.asp[^],
http://www.quackit.com/css/css_color_codes.cfm[^].

Use it and be fine.

—SA
 
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