COLOR #C42987

HEX: #C42987
RGB: (196,41,135)

Color info

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

RGB color model

#C42987 color RGB value is (196,41,135).

  • red value is 196;
  • green value is 41;
  • blue value is 135.
RGB:
(196,41,135)
(77%,16%,53%)

RGB channels and saturation

R 196 of 255 = 77%
G 41 of 255 = 16%
B 135 of 255 = 53%

196
41
135

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

Portions of RGB colors in percentages

R + G + B =
196 + 41 + 135 = 372 (100%)
R 196 of 372 ~ 52.69%
G 41 of 372 ~ 11.02%
B 135 of 372 ~ 36.29%

%52.69
%11.02
%36.29

CMYK color model

#C42987 color CMYK value is (0,79,31,23).

  • cyan value is 0.00%
  • magenta value is 79.08%
  • yellow value is 31.12%
  • key color value is 23.14%
CMYK:
(0,79,31,23)
C0M79Y31K23 
(0%,79%,31%,23%)
(0.00/0.79/0.31/0.23)	

CMYK percentages

%0
%79.08
%31.12
%23.14

Codes

Color #C42987 in popluar color models

C42987
RGB19641135
HSL324°65.40%46.47%
HSB/HSV324°79.08%76.86%
CMYK0.00%79.08%31.12%
23.14%

Color #C42987 in popluar number systems.

HEXC42987
Decimal19641135
Binary1100010010100110000111
Octal30451207

Shades and tints

Shades of #C42987

#C42987
(196,41,135)
#B3267B
(179,38,123)
#A2236F
(162,35,111)
#912063
(145,32,99)
#801D57
(128,29,87)
#6F1A4B
(111,26,75)
#5E173F
(94,23,63)
#4D1433
(77,20,51)
#3C1127
(60,17,39)
#2B0E1B
(43,14,27)
#1A0B0F
(26,11,15)
#000000
(0,0,0)

Tints of #C42987

#C42987
(196,41,135)
#C93C91
(201,60,145)
#CE4F9B
(206,79,155)
#D362A5
(211,98,165)
#D875AF
(216,117,175)
#DD88B9
(221,136,185)
#E29BC3
(226,155,195)
#E7AECD
(231,174,205)
#ECC1D7
(236,193,215)
#F1D4E1
(241,212,225)
#F6E7EB
(246,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #C42987 color. Also use rgb(196,41,135) instead hex code.

Text Font Color

.myTextColor { color: #C42987; }

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

This text font color is #C42987.


Background Color

.myBgColor { background-color: #C42987; }

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

This div background color is #C42987.


Border color

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

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

This div border color is #C42987.


Opacity

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

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

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

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

This text has shadow with #C42987 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C42987 on black background.


Color preview on white background

This text has color #C42987 on white background.



Black color preview on #C42987 background

This text has black color on #C42987 background.


White color preview on #C42987 background

This text has white color on #C42987 background.