COLOR #512F79

HEX: #512F79
RGB: (81,47,121)

Color info

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

RGB color model

#512F79 color RGB value is (81,47,121).

  • red value is 81;
  • green value is 47;
  • blue value is 121.
RGB:
(81,47,121)
(32%,18%,47%)

RGB channels and saturation

R 81 of 255 = 32%
G 47 of 255 = 18%
B 121 of 255 = 47%

81
47
121

R + G + B ~ 32%. #512F79 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 47 + 121 = 249 (100%)
R 81 of 249 ~ 32.53%
G 47 of 249 ~ 18.88%
B 121 of 249 ~ 48.59%

%32.53
%18.88
%48.59

CMYK color model

#512F79 color CMYK value is (33,61,0,53).

  • cyan value is 33.06%
  • magenta value is 61.16%
  • yellow value is 0.00%
  • key color value is 52.55%
CMYK:
(33,61,0,53)
C33M61Y0K53 
(33%,61%,0%,53%)
(0.33/0.61/0.00/0.53)	

CMYK percentages

%33.06
%61.16
%0
%52.55

Codes

Color #512F79 in popluar color models

512F79
RGB8147121
HSL268°44.05%32.94%
HSB/HSV268°61.16%47.45%
CMYK33.06%61.16%0.00%
52.55%

Color #512F79 in popluar number systems.

HEX512F79
Decimal8147121
Binary10100011011111111001
Octal12157171

Shades and tints

Shades of #512F79

#512F79
(81,47,121)
#4A2B6E
(74,43,110)
#432763
(67,39,99)
#3C2358
(60,35,88)
#351F4D
(53,31,77)
#2E1B42
(46,27,66)
#271737
(39,23,55)
#20132C
(32,19,44)
#190F21
(25,15,33)
#120B16
(18,11,22)
#0B070B
(11,7,11)
#000000
(0,0,0)

Tints of #512F79

#512F79
(81,47,121)
#604185
(96,65,133)
#6F5391
(111,83,145)
#7E659D
(126,101,157)
#8D77A9
(141,119,169)
#9C89B5
(156,137,181)
#AB9BC1
(171,155,193)
#BAADCD
(186,173,205)
#C9BFD9
(201,191,217)
#D8D1E5
(216,209,229)
#E7E3F1
(231,227,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512F79 color. Also use rgb(81,47,121) instead hex code.

Text Font Color

.myTextColor { color: #512F79; }

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

This text font color is #512F79.


Background Color

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

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

This div background color is #512F79.


Border color

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

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

This div border color is #512F79.


Opacity

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

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

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

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

This text has shadow with #512F79 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512F79 on black background.


Color preview on white background

This text has color #512F79 on white background.



Black color preview on #512F79 background

This text has black color on #512F79 background.


White color preview on #512F79 background

This text has white color on #512F79 background.