COLOR #510139

HEX: #510139 RGB: (81,1,57)

Color info

#510139 contains mainly red and blue colors. Web safe color of #510139 is #660033 (or #603).

RGB color model

#510139 color RGB value is (81,1,57).

RGB: (81,1,57) (32%, 0%, 22%)

RGB channels and saturation

R 81 of 255 = 32%
G 1 of 255 = 0%
B 57 of 255 = 22%

81
1
57

R + G + B ~ 18%. #510139 is dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 1 + 57 = 139 (100%)
R 81 of 139 ~ 58.27%
G 1 of 139 ~ 0.72%
B 57 of 139 ~ 41.01'%

%58.27
%41.01

CMYK color model

#510139 color CMYK value is (0,99,30,68).

  • cyan value is 0.00%
  • magenta value is 98.77%
  • yellow value is 29.63%
  • key color value is 68.24%

CMYK: (0,99,30,68)
C0M99Y30K68 (0%, 99%, 30%, 68%)
(0.00 / 0.99 / 0.30 / 0.68)

CMYK percentages

%0
%98.77
%29.63
%68.24

Codes

Color #510139 in popluar color models

51 01 39
RGB 81 1 57
HSL 318° 97.56% 16.08%
HSB/HSV 318° 98.77% 31.76%
CMYK 0.00% 98.77% 29.63%
68.24%

Color #510139 in popluar number systems.

HEX 51 01 39
Decimal 81 1 57
Binary 1010001 1 111001
Octal 121 1 71

Shades and tints

Shades of #510139

#510139
(81,1,57)
#4A0134
(74,1,52)
#43012F
(67,1,47)
#3C012A
(60,1,42)
#350125
(53,1,37)
#2E0120
(46,1,32)
#27011B
(39,1,27)
#200116
(32,1,22)
#190111
(25,1,17)
#12010C
(18,1,12)
#0B0107
(11,1,7)
#000000
(0,0,0)

Tints of #510139

#510139
(81,1,57)
#60184B
(96,24,75)
#6F2F5D
(111,47,93)
#7E466F
(126,70,111)
#8D5D81
(141,93,129)
#9C7493
(156,116,147)
#AB8BA5
(171,139,165)
#BAA2B7
(186,162,183)
#C9B9C9
(201,185,201)
#D8D0DB
(216,208,219)
#E7E7ED
(231,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #510139 color. Also use rgb(81,1,57) instead hex code.

Text Font Color

.myTextColor { color: #510139; }

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

This text font color is #510139.

Background Color

.myBgColor { background-color: #510139; }

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

This div background color is #510139.

Border color

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

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

This div border color is #510139.

Opacity

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

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

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

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

This text has shadow with #510139 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #510139.

Preview

Color preview on black background

This text has color #510139 on black background.


Color preview on white background

This text has color #510139 on white background.


Black color preview on #510139 background

This text has black color on #510139 background.


White color preview on #510139 background

This text has white color on #510139 background.


Related colors

Complementary color

Complementary color for #hex is #AEFEC6.


I love getcolorcode.com

Triadic colors

1 #395101 and #013951 with #510139 are triadic colors.

2 #390151 and #015139 with #510139 are triadic colors.