COLOR #CC0C2A

HEX: #CC0C2A
RGB: (204,12,42)

Color info

#CC0C2A contains mainly red color. Web safe color of #CC0C2A is #CC0033 (or #C03).

RGB color model

#CC0C2A color RGB value is (204,12,42).

  • red value is 204;
  • green value is 12;
  • blue value is 42.
RGB:
(204,12,42)
(80%,5%,16%)

RGB channels and saturation

R 204 of 255 = 80%
G 12 of 255 = 5%
B 42 of 255 = 16%

204
12
42

R + G + B ~ 34%. #CC0C2A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
204 + 12 + 42 = 258 (100%)
R 204 of 258 ~ 79.07%
G 12 of 258 ~ 4.65%
B 42 of 258 ~ 16.28%

%79.07
%16.28

CMYK color model

#CC0C2A color CMYK value is (0,94,79,20).

  • cyan value is 0.00%
  • magenta value is 94.12%
  • yellow value is 79.41%
  • key color value is 20.00%
CMYK:
(0,94,79,20)
C0M94Y79K20 
(0%,94%,79%,20%)
(0.00/0.94/0.79/0.20)	

CMYK percentages

%0
%94.12
%79.41
%20

Codes

Color #CC0C2A in popluar color models

CC0C2A
RGB2041242
HSL351°88.89%42.35%
HSB/HSV351°94.12%80.00%
CMYK0.00%94.12%79.41%
20.00%

Color #CC0C2A in popluar number systems.

HEXCC0C2A
Decimal2041242
Binary110011001100101010
Octal3141452

Shades and tints

Shades of #CC0C2A

#CC0C2A
(204,12,42)
#BA0B27
(186,11,39)
#A80A24
(168,10,36)
#960921
(150,9,33)
#84081E
(132,8,30)
#72071B
(114,7,27)
#600618
(96,6,24)
#4E0515
(78,5,21)
#3C0412
(60,4,18)
#2A030F
(42,3,15)
#18020C
(24,2,12)
#000000
(0,0,0)

Tints of #CC0C2A

#CC0C2A
(204,12,42)
#D0223D
(208,34,61)
#D43850
(212,56,80)
#D84E63
(216,78,99)
#DC6476
(220,100,118)
#E07A89
(224,122,137)
#E4909C
(228,144,156)
#E8A6AF
(232,166,175)
#ECBCC2
(236,188,194)
#F0D2D5
(240,210,213)
#F4E8E8
(244,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #CC0C2A color. Also use rgb(204,12,42) instead hex code.

Text Font Color

.myTextColor { color: #CC0C2A; }

<p style="color:#CC0C2A">This sample text font color is #CC0C2A.</p>

This text font color is #CC0C2A.


Background Color

.myBgColor { background-color: #CC0C2A; }

<div style="background-color:#CC0C2A">Inner text</div>

This div background color is #CC0C2A.


Border color

.myBorderColor { border: 1px solid #CC0C2A; }

<div style="border:3px solid #CC0C2A">Div</div>

This div border color is #CC0C2A.


Opacity

.myOpacity80 { color: #CC0C2A; opacity: 0.8; }

<p style="color:#CC0C2A;opacity:0.8;">80%</p>

Text with #CC0C2A color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #CC0C2A;}

<p style="text-shadow: 3px 3px 1px #CC0C2A">Text here.</p>

This text has shadow with #CC0C2A color.

.textShadow {text-shadow: 3px 3px 1px #CC0C2A, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #CC0C2A, 5px 5px 20px red">Text here.</p>

This text has shadow with #CC0C2A primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC0C2A, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#CC0C2A, Direction=45, Strength=4)">Text</p>

This text has shadow with #CC0C2A and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #CC0C2A;
  -webkit-box-shadow:	1px 1px 3px 2px #CC0C2A;
  box-shadow:		1px 1px 3px 2px #CC0C2A;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #CC0C2A;
-webkit-box-shadow: 1px 1px 3px 2px #CC0C2A;
box-shadow:1px 1px 3px 2px #CC0C2A;">
Div content here</div>
This div box has shadow with color #CC0C2A.

Preview

Color preview on black background

This text has color #CC0C2A on black background.


Color preview on white background

This text has color #CC0C2A on white background.



Black color preview on #CC0C2A background

This text has black color on #CC0C2A background.


White color preview on #CC0C2A background

This text has white color on #CC0C2A background.