COLOR #512C62

HEX: #512C62
RGB: (81,44,98)

Color info

#512C62 contains red, green and blue colors in about the same proportion. Web safe color of #512C62 is #663366 (or #636).

RGB color model

#512C62 color RGB value is (81,44,98).

  • red value is 81;
  • green value is 44;
  • blue value is 98.
RGB:
(81,44,98)
(32%,17%,38%)

RGB channels and saturation

R 81 of 255 = 32%
G 44 of 255 = 17%
B 98 of 255 = 38%

81
44
98

R + G + B ~ 29%. #512C62 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 44 + 98 = 223 (100%)
R 81 of 223 ~ 36.32%
G 44 of 223 ~ 19.73%
B 98 of 223 ~ 43.95%

%36.32
%19.73
%43.95

CMYK color model

#512C62 color CMYK value is (17,55,0,62).

  • cyan value is 17.35%
  • magenta value is 55.10%
  • yellow value is 0.00%
  • key color value is 61.57%
CMYK:
(17,55,0,62)
C17M55Y0K62 
(17%,55%,0%,62%)
(0.17/0.55/0.00/0.62)	

CMYK percentages

%17.35
%55.1
%0
%61.57

Codes

Color #512C62 in popluar color models

512C62
RGB814498
HSL281°38.03%27.84%
HSB/HSV281°55.10%38.43%
CMYK17.35%55.10%0.00%
61.57%

Color #512C62 in popluar number systems.

HEX512C62
Decimal814498
Binary10100011011001100010
Octal12154142

Shades and tints

Shades of #512C62

#512C62
(81,44,98)
#4A285A
(74,40,90)
#432452
(67,36,82)
#3C204A
(60,32,74)
#351C42
(53,28,66)
#2E183A
(46,24,58)
#271432
(39,20,50)
#20102A
(32,16,42)
#190C22
(25,12,34)
#12081A
(18,8,26)
#0B0412
(11,4,18)
#000000
(0,0,0)

Tints of #512C62

#512C62
(81,44,98)
#603F70
(96,63,112)
#6F527E
(111,82,126)
#7E658C
(126,101,140)
#8D789A
(141,120,154)
#9C8BA8
(156,139,168)
#AB9EB6
(171,158,182)
#BAB1C4
(186,177,196)
#C9C4D2
(201,196,210)
#D8D7E0
(216,215,224)
#E7EAEE
(231,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512C62 color. Also use rgb(81,44,98) instead hex code.

Text Font Color

.myTextColor { color: #512C62; }

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

This text font color is #512C62.


Background Color

.myBgColor { background-color: #512C62; }

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

This div background color is #512C62.


Border color

.myBorderColor { border: 1px solid #512C62; }

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

This div border color is #512C62.


Opacity

.myOpacity80 { color: #512C62; opacity: 0.8; }

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

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

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

This text has shadow with #512C62 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512C62 on black background.


Color preview on white background

This text has color #512C62 on white background.



Black color preview on #512C62 background

This text has black color on #512C62 background.


White color preview on #512C62 background

This text has white color on #512C62 background.