COLOR #512066

HEX: #512066
RGB: (81,32,102)

Color info

#512066 contains mainly red and blue colors. Web safe color of #512066 is #663366 (or #636).

RGB color model

#512066 color RGB value is (81,32,102).

  • red value is 81;
  • green value is 32;
  • blue value is 102.
RGB:
(81,32,102)
(32%,13%,40%)

RGB channels and saturation

R 81 of 255 = 32%
G 32 of 255 = 13%
B 102 of 255 = 40%

81
32
102

R + G + B ~ 28%. #512066 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 32 + 102 = 215 (100%)
R 81 of 215 ~ 37.67%
G 32 of 215 ~ 14.88%
B 102 of 215 ~ 47.44%

%37.67
%14.88
%47.44

CMYK color model

#512066 color CMYK value is (21,69,0,60).

  • cyan value is 20.59%
  • magenta value is 68.63%
  • yellow value is 0.00%
  • key color value is 60.00%
CMYK:
(21,69,0,60)
C21M69Y0K60 
(21%,69%,0%,60%)
(0.21/0.69/0.00/0.60)	

CMYK percentages

%20.59
%68.63
%0
%60

Codes

Color #512066 in popluar color models

512066
RGB8132102
HSL282°52.24%26.27%
HSB/HSV282°68.63%40.00%
CMYK20.59%68.63%0.00%
60.00%

Color #512066 in popluar number systems.

HEX512066
Decimal8132102
Binary10100011000001100110
Octal12140146

Shades and tints

Shades of #512066

#512066
(81,32,102)
#4A1E5D
(74,30,93)
#431C54
(67,28,84)
#3C1A4B
(60,26,75)
#351842
(53,24,66)
#2E1639
(46,22,57)
#271430
(39,20,48)
#201227
(32,18,39)
#19101E
(25,16,30)
#120E15
(18,14,21)
#0B0C0C
(11,12,12)
#000000
(0,0,0)

Tints of #512066

#512066
(81,32,102)
#603473
(96,52,115)
#6F4880
(111,72,128)
#7E5C8D
(126,92,141)
#8D709A
(141,112,154)
#9C84A7
(156,132,167)
#AB98B4
(171,152,180)
#BAACC1
(186,172,193)
#C9C0CE
(201,192,206)
#D8D4DB
(216,212,219)
#E7E8E8
(231,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512066 color. Also use rgb(81,32,102) instead hex code.

Text Font Color

.myTextColor { color: #512066; }

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

This text font color is #512066.


Background Color

.myBgColor { background-color: #512066; }

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

This div background color is #512066.


Border color

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

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

This div border color is #512066.


Opacity

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

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

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

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

This text has shadow with #512066 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512066 on black background.


Color preview on white background

This text has color #512066 on white background.



Black color preview on #512066 background

This text has black color on #512066 background.


White color preview on #512066 background

This text has white color on #512066 background.