COLOR #CC397D

HEX: #CC397D RGB: (204,57,125)

Color info

#CC397D contains mainly red color. Web safe color of #CC397D is #CC3366 (or #C36).

RGB color model

#CC397D color RGB value is (204,57,125).

RGB: (204,57,125) (80%, 22%, 49%)

RGB channels and saturation

R 204 of 255 = 80%
G 57 of 255 = 22%
B 125 of 255 = 49%

204
57
125

R + G + B ~ 50%. #CC397D is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 204 + 57 + 125 = 386 (100%)
R 204 of 386 ~ 52.85%
G 57 of 386 ~ 14.77%
B 125 of 386 ~ 32.38'%

%52.85
%14.77
%32.38

CMYK color model

#CC397D color CMYK value is (0,72,39,20).

  • cyan value is 0.00%
  • magenta value is 72.06%
  • yellow value is 38.73%
  • key color value is 20.00%

CMYK: (0,72,39,20)
C0M72Y39K20 (0%, 72%, 39%, 20%)
(0.00 / 0.72 / 0.39 / 0.20)

CMYK percentages

%0
%72.06
%38.73
%20

Codes

Color #CC397D in popluar color models

CC 39 7D
RGB 204 57 125
HSL 332° 59.04% 51.18%
HSB/HSV 332° 72.06% 80.00%
CMYK 0.00% 72.06% 38.73%
20.00%

Color #CC397D in popluar number systems.

HEX CC 39 7D
Decimal 204 57 125
Binary 11001100 111001 1111101
Octal 314 71 175

Shades and tints

Shades of #CC397D

#CC397D
(204,57,125)
#BA3472
(186,52,114)
#A82F67
(168,47,103)
#962A5C
(150,42,92)
#842551
(132,37,81)
#722046
(114,32,70)
#601B3B
(96,27,59)
#4E1630
(78,22,48)
#3C1125
(60,17,37)
#2A0C1A
(42,12,26)
#18070F
(24,7,15)
#000000
(0,0,0)

Tints of #CC397D

#CC397D
(204,57,125)
#D04B88
(208,75,136)
#D45D93
(212,93,147)
#D86F9E
(216,111,158)
#DC81A9
(220,129,169)
#E093B4
(224,147,180)
#E4A5BF
(228,165,191)
#E8B7CA
(232,183,202)
#ECC9D5
(236,201,213)
#F0DBE0
(240,219,224)
#F4EDEB
(244,237,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #CC397D color. Also use rgb(204,57,125) instead hex code.

Text Font Color

.myTextColor { color: #CC397D; }

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

This text font color is #CC397D.

Background Color

.myBgColor { background-color: #CC397D; }

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

This div background color is #CC397D.

Border color

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

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

This div border color is #CC397D.

Opacity

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

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

Text with #CC397D 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 #CC397D;}

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

This text has shadow with #CC397D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #CC397D.

Preview

Color preview on black background

This text has color #CC397D on black background.


Color preview on white background

This text has color #CC397D on white background.


Black color preview on #CC397D background

This text has black color on #CC397D background.


White color preview on #CC397D background

This text has white color on #CC397D background.


Related colors

Complementary color

Complementary color for #hex is #33C682.


I love getcolorcode.com

Triadic colors

1 #7DCC39 and #397DCC with #CC397D are triadic colors.

2 #7D39CC and #39CC7D with #CC397D are triadic colors.