COLOR #512795

HEX: #512795
RGB: (81,39,149)

Color info

#512795 contains mainly blue color. Web safe color of #512795 is #663399 (or #639).

RGB color model

#512795 color RGB value is (81,39,149).

  • red value is 81;
  • green value is 39;
  • blue value is 149.
RGB:
(81,39,149)
(32%,15%,58%)

RGB channels and saturation

R 81 of 255 = 32%
G 39 of 255 = 15%
B 149 of 255 = 58%

81
39
149

R + G + B ~ 35%. #512795 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 39 + 149 = 269 (100%)
R 81 of 269 ~ 30.11%
G 39 of 269 ~ 14.5%
B 149 of 269 ~ 55.39%

%30.11
%14.5
%55.39

CMYK color model

#512795 color CMYK value is (46,74,0,42).

  • cyan value is 45.64%
  • magenta value is 73.83%
  • yellow value is 0.00%
  • key color value is 41.57%
CMYK:
(46,74,0,42)
C46M74Y0K42 
(46%,74%,0%,42%)
(0.46/0.74/0.00/0.42)	

CMYK percentages

%45.64
%73.83
%0
%41.57

Codes

Color #512795 in popluar color models

512795
RGB8139149
HSL263°58.51%36.86%
HSB/HSV263°73.83%58.43%
CMYK45.64%73.83%0.00%
41.57%

Color #512795 in popluar number systems.

HEX512795
Decimal8139149
Binary101000110011110010101
Octal12147225

Shades and tints

Shades of #512795

#512795
(81,39,149)
#4A2488
(74,36,136)
#43217B
(67,33,123)
#3C1E6E
(60,30,110)
#351B61
(53,27,97)
#2E1854
(46,24,84)
#271547
(39,21,71)
#20123A
(32,18,58)
#190F2D
(25,15,45)
#120C20
(18,12,32)
#0B0913
(11,9,19)
#000000
(0,0,0)

Tints of #512795

#512795
(81,39,149)
#603A9E
(96,58,158)
#6F4DA7
(111,77,167)
#7E60B0
(126,96,176)
#8D73B9
(141,115,185)
#9C86C2
(156,134,194)
#AB99CB
(171,153,203)
#BAACD4
(186,172,212)
#C9BFDD
(201,191,221)
#D8D2E6
(216,210,230)
#E7E5EF
(231,229,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512795 color. Also use rgb(81,39,149) instead hex code.

Text Font Color

.myTextColor { color: #512795; }

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

This text font color is #512795.


Background Color

.myBgColor { background-color: #512795; }

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

This div background color is #512795.


Border color

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

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

This div border color is #512795.


Opacity

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

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

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

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

This text has shadow with #512795 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512795 on black background.


Color preview on white background

This text has color #512795 on white background.



Black color preview on #512795 background

This text has black color on #512795 background.


White color preview on #512795 background

This text has white color on #512795 background.