COLOR #CC7987

HEX: #CC7987
RGB: (204,121,135)

Color info

#CC7987 contains mainly red color. Web safe color of #CC7987 is #CC6699 (or #C69).

RGB color model

#CC7987 color RGB value is (204,121,135).

  • red value is 204;
  • green value is 121;
  • blue value is 135.
RGB:
(204,121,135)
(80%,47%,53%)

RGB channels and saturation

R 204 of 255 = 80%
G 121 of 255 = 47%
B 135 of 255 = 53%

204
121
135

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

Portions of RGB colors in percentages

R + G + B =
204 + 121 + 135 = 460 (100%)
R 204 of 460 ~ 44.35%
G 121 of 460 ~ 26.3%
B 135 of 460 ~ 29.35%

%44.35
%26.3
%29.35

CMYK color model

#CC7987 color CMYK value is (0,41,34,20).

  • cyan value is 0.00%
  • magenta value is 40.69%
  • yellow value is 33.82%
  • key color value is 20.00%
CMYK:
(0,41,34,20)
C0M41Y34K20 
(0%,41%,34%,20%)
(0.00/0.41/0.34/0.20)	

CMYK percentages

%0
%40.69
%33.82
%20

Codes

Color #CC7987 in popluar color models

CC7987
RGB204121135
HSL350°44.86%63.73%
HSB/HSV350°40.69%80.00%
CMYK0.00%40.69%33.82%
20.00%

Color #CC7987 in popluar number systems.

HEXCC7987
Decimal204121135
Binary11001100111100110000111
Octal314171207

Shades and tints

Shades of #CC7987

#CC7987
(204,121,135)
#BA6E7B
(186,110,123)
#A8636F
(168,99,111)
#965863
(150,88,99)
#844D57
(132,77,87)
#72424B
(114,66,75)
#60373F
(96,55,63)
#4E2C33
(78,44,51)
#3C2127
(60,33,39)
#2A161B
(42,22,27)
#180B0F
(24,11,15)
#000000
(0,0,0)

Tints of #CC7987

#CC7987
(204,121,135)
#D08591
(208,133,145)
#D4919B
(212,145,155)
#D89DA5
(216,157,165)
#DCA9AF
(220,169,175)
#E0B5B9
(224,181,185)
#E4C1C3
(228,193,195)
#E8CDCD
(232,205,205)
#ECD9D7
(236,217,215)
#F0E5E1
(240,229,225)
#F4F1EB
(244,241,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #CC7987 color. Also use rgb(204,121,135) instead hex code.

Text Font Color

.myTextColor { color: #CC7987; }

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

This text font color is #CC7987.


Background Color

.myBgColor { background-color: #CC7987; }

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

This div background color is #CC7987.


Border color

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

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

This div border color is #CC7987.


Opacity

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

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

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

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

This text has shadow with #CC7987 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #CC7987 on black background.


Color preview on white background

This text has color #CC7987 on white background.



Black color preview on #CC7987 background

This text has black color on #CC7987 background.


White color preview on #CC7987 background

This text has white color on #CC7987 background.