COLOR #512470

HEX: #512470
RGB: (81,36,112)

Color info

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

RGB color model

#512470 color RGB value is (81,36,112).

  • red value is 81;
  • green value is 36;
  • blue value is 112.
RGB:
(81,36,112)
(32%,14%,44%)

RGB channels and saturation

R 81 of 255 = 32%
G 36 of 255 = 14%
B 112 of 255 = 44%

81
36
112

R + G + B ~ 30%. #512470 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 36 + 112 = 229 (100%)
R 81 of 229 ~ 35.37%
G 36 of 229 ~ 15.72%
B 112 of 229 ~ 48.91%

%35.37
%15.72
%48.91

CMYK color model

#512470 color CMYK value is (28,68,0,56).

  • cyan value is 27.68%
  • magenta value is 67.86%
  • yellow value is 0.00%
  • key color value is 56.08%
CMYK:
(28,68,0,56)
C28M68Y0K56 
(28%,68%,0%,56%)
(0.28/0.68/0.00/0.56)	

CMYK percentages

%27.68
%67.86
%0
%56.08

Codes

Color #512470 in popluar color models

512470
RGB8136112
HSL276°51.35%29.02%
HSB/HSV276°67.86%43.92%
CMYK27.68%67.86%0.00%
56.08%

Color #512470 in popluar number systems.

HEX512470
Decimal8136112
Binary10100011001001110000
Octal12144160

Shades and tints

Shades of #512470

#512470
(81,36,112)
#4A2166
(74,33,102)
#431E5C
(67,30,92)
#3C1B52
(60,27,82)
#351848
(53,24,72)
#2E153E
(46,21,62)
#271234
(39,18,52)
#200F2A
(32,15,42)
#190C20
(25,12,32)
#120916
(18,9,22)
#0B060C
(11,6,12)
#000000
(0,0,0)

Tints of #512470

#512470
(81,36,112)
#60377D
(96,55,125)
#6F4A8A
(111,74,138)
#7E5D97
(126,93,151)
#8D70A4
(141,112,164)
#9C83B1
(156,131,177)
#AB96BE
(171,150,190)
#BAA9CB
(186,169,203)
#C9BCD8
(201,188,216)
#D8CFE5
(216,207,229)
#E7E2F2
(231,226,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512470 color. Also use rgb(81,36,112) instead hex code.

Text Font Color

.myTextColor { color: #512470; }

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

This text font color is #512470.


Background Color

.myBgColor { background-color: #512470; }

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

This div background color is #512470.


Border color

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

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

This div border color is #512470.


Opacity

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

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

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

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

This text has shadow with #512470 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512470 on black background.


Color preview on white background

This text has color #512470 on white background.



Black color preview on #512470 background

This text has black color on #512470 background.


White color preview on #512470 background

This text has white color on #512470 background.