COLOR #C51C8A

HEX: #C51C8A
RGB: (197,28,138)

Color info

#C51C8A contains mainly red and blue colors. Web safe color of #C51C8A is #CC3399 (or #C39).

RGB color model

#C51C8A color RGB value is (197,28,138).

  • red value is 197;
  • green value is 28;
  • blue value is 138.
RGB:
(197,28,138)
(77%,11%,54%)

RGB channels and saturation

R 197 of 255 = 77%
G 28 of 255 = 11%
B 138 of 255 = 54%

197
28
138

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

Portions of RGB colors in percentages

R + G + B =
197 + 28 + 138 = 363 (100%)
R 197 of 363 ~ 54.27%
G 28 of 363 ~ 7.71%
B 138 of 363 ~ 38.02%

%54.27
%38.02

CMYK color model

#C51C8A color CMYK value is (0,86,30,23).

  • cyan value is 0.00%
  • magenta value is 85.79%
  • yellow value is 29.95%
  • key color value is 22.75%
CMYK:
(0,86,30,23)
C0M86Y30K23 
(0%,86%,30%,23%)
(0.00/0.86/0.30/0.23)	

CMYK percentages

%0
%85.79
%29.95
%22.75

Codes

Color #C51C8A in popluar color models

C51C8A
RGB19728138
HSL321°75.11%44.12%
HSB/HSV321°85.79%77.25%
CMYK0.00%85.79%29.95%
22.75%

Color #C51C8A in popluar number systems.

HEXC51C8A
Decimal19728138
Binary110001011110010001010
Octal30534212

Shades and tints

Shades of #C51C8A

#C51C8A
(197,28,138)
#B41A7E
(180,26,126)
#A31872
(163,24,114)
#921666
(146,22,102)
#81145A
(129,20,90)
#70124E
(112,18,78)
#5F1042
(95,16,66)
#4E0E36
(78,14,54)
#3D0C2A
(61,12,42)
#2C0A1E
(44,10,30)
#1B0812
(27,8,18)
#000000
(0,0,0)

Tints of #C51C8A

#C51C8A
(197,28,138)
#CA3094
(202,48,148)
#CF449E
(207,68,158)
#D458A8
(212,88,168)
#D96CB2
(217,108,178)
#DE80BC
(222,128,188)
#E394C6
(227,148,198)
#E8A8D0
(232,168,208)
#EDBCDA
(237,188,218)
#F2D0E4
(242,208,228)
#F7E4EE
(247,228,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #C51C8A color. Also use rgb(197,28,138) instead hex code.

Text Font Color

.myTextColor { color: #C51C8A; }

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

This text font color is #C51C8A.


Background Color

.myBgColor { background-color: #C51C8A; }

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

This div background color is #C51C8A.


Border color

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

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

This div border color is #C51C8A.


Opacity

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

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

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

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

This text has shadow with #C51C8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C51C8A on black background.


Color preview on white background

This text has color #C51C8A on white background.



Black color preview on #C51C8A background

This text has black color on #C51C8A background.


White color preview on #C51C8A background

This text has white color on #C51C8A background.