COLOR #512382

HEX: #512382
RGB: (81,35,130)

Color info

#512382 contains mainly red and blue colors. Web safe color of #512382 is #663399 (or #639).

RGB color model

#512382 color RGB value is (81,35,130).

  • red value is 81;
  • green value is 35;
  • blue value is 130.
RGB:
(81,35,130)
(32%,14%,51%)

RGB channels and saturation

R 81 of 255 = 32%
G 35 of 255 = 14%
B 130 of 255 = 51%

81
35
130

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

Portions of RGB colors in percentages

R + G + B =
81 + 35 + 130 = 246 (100%)
R 81 of 246 ~ 32.93%
G 35 of 246 ~ 14.23%
B 130 of 246 ~ 52.85%

%32.93
%14.23
%52.85

CMYK color model

#512382 color CMYK value is (38,73,0,49).

  • cyan value is 37.69%
  • magenta value is 73.08%
  • yellow value is 0.00%
  • key color value is 49.02%
CMYK:
(38,73,0,49)
C38M73Y0K49 
(38%,73%,0%,49%)
(0.38/0.73/0.00/0.49)	

CMYK percentages

%37.69
%73.08
%0
%49.02

Codes

Color #512382 in popluar color models

512382
RGB8135130
HSL269°57.58%32.35%
HSB/HSV269°73.08%50.98%
CMYK37.69%73.08%0.00%
49.02%

Color #512382 in popluar number systems.

HEX512382
Decimal8135130
Binary101000110001110000010
Octal12143202

Shades and tints

Shades of #512382

#512382
(81,35,130)
#4A2077
(74,32,119)
#431D6C
(67,29,108)
#3C1A61
(60,26,97)
#351756
(53,23,86)
#2E144B
(46,20,75)
#271140
(39,17,64)
#200E35
(32,14,53)
#190B2A
(25,11,42)
#12081F
(18,8,31)
#0B0514
(11,5,20)
#000000
(0,0,0)

Tints of #512382

#512382
(81,35,130)
#60378D
(96,55,141)
#6F4B98
(111,75,152)
#7E5FA3
(126,95,163)
#8D73AE
(141,115,174)
#9C87B9
(156,135,185)
#AB9BC4
(171,155,196)
#BAAFCF
(186,175,207)
#C9C3DA
(201,195,218)
#D8D7E5
(216,215,229)
#E7EBF0
(231,235,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512382 color. Also use rgb(81,35,130) instead hex code.

Text Font Color

.myTextColor { color: #512382; }

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

This text font color is #512382.


Background Color

.myBgColor { background-color: #512382; }

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

This div background color is #512382.


Border color

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

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

This div border color is #512382.


Opacity

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

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

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

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

This text has shadow with #512382 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #512382 on black background.


Color preview on white background

This text has color #512382 on white background.



Black color preview on #512382 background

This text has black color on #512382 background.


White color preview on #512382 background

This text has white color on #512382 background.