COLOR #CC398F

HEX: #CC398F
RGB: (204,57,143)

Color info

#CC398F contains mainly red color. Web safe color of #CC398F is #CC3399 (or #C39).

RGB color model

#CC398F color RGB value is (204,57,143).

  • red value is 204;
  • green value is 57;
  • blue value is 143.
RGB:
(204,57,143)
(80%,22%,56%)

RGB channels and saturation

R 204 of 255 = 80%
G 57 of 255 = 22%
B 143 of 255 = 56%

204
57
143

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

Portions of RGB colors in percentages

R + G + B =
204 + 57 + 143 = 404 (100%)
R 204 of 404 ~ 50.5%
G 57 of 404 ~ 14.11%
B 143 of 404 ~ 35.4%

%50.5
%14.11
%35.4

CMYK color model

#CC398F color CMYK value is (0,72,30,20).

  • cyan value is 0.00%
  • magenta value is 72.06%
  • yellow value is 29.90%
  • key color value is 20.00%
CMYK:
(0,72,30,20)
C0M72Y30K20 
(0%,72%,30%,20%)
(0.00/0.72/0.30/0.20)	

CMYK percentages

%0
%72.06
%29.9
%20

Codes

Color #CC398F in popluar color models

CC398F
RGB20457143
HSL325°59.04%51.18%
HSB/HSV325°72.06%80.00%
CMYK0.00%72.06%29.90%
20.00%

Color #CC398F in popluar number systems.

HEXCC398F
Decimal20457143
Binary1100110011100110001111
Octal31471217

Shades and tints

Shades of #CC398F

#CC398F
(204,57,143)
#BA3482
(186,52,130)
#A82F75
(168,47,117)
#962A68
(150,42,104)
#84255B
(132,37,91)
#72204E
(114,32,78)
#601B41
(96,27,65)
#4E1634
(78,22,52)
#3C1127
(60,17,39)
#2A0C1A
(42,12,26)
#18070D
(24,7,13)
#000000
(0,0,0)

Tints of #CC398F

#CC398F
(204,57,143)
#D04B99
(208,75,153)
#D45DA3
(212,93,163)
#D86FAD
(216,111,173)
#DC81B7
(220,129,183)
#E093C1
(224,147,193)
#E4A5CB
(228,165,203)
#E8B7D5
(232,183,213)
#ECC9DF
(236,201,223)
#F0DBE9
(240,219,233)
#F4EDF3
(244,237,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #CC398F; }

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

This text font color is #CC398F.


Background Color

.myBgColor { background-color: #CC398F; }

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

This div background color is #CC398F.


Border color

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

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

This div border color is #CC398F.


Opacity

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

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

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

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

This text has shadow with #CC398F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #CC398F on black background.


Color preview on white background

This text has color #CC398F on white background.



Black color preview on #CC398F background

This text has black color on #CC398F background.


White color preview on #CC398F background

This text has white color on #CC398F background.