COLOR #51024F

HEX: #51024F
RGB: (81,2,79)

Color info

#51024F contains mainly red and blue colors. Web safe color of #51024F is #660066 (or #606).

RGB color model

#51024F color RGB value is (81,2,79).

  • red value is 81;
  • green value is 2;
  • blue value is 79.
RGB:
(81,2,79)
(32%,1%,31%)

RGB channels and saturation

R 81 of 255 = 32%
G 2 of 255 = 1%
B 79 of 255 = 31%

81
2
79

R + G + B ~ 21%. #51024F is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 2 + 79 = 162 (100%)
R 81 of 162 ~ 50%
G 2 of 162 ~ 1.23%
B 79 of 162 ~ 48.77%

%50
%48.77

CMYK color model

#51024F color CMYK value is (0,98,2,68).

  • cyan value is 0.00%
  • magenta value is 97.53%
  • yellow value is 2.47%
  • key color value is 68.24%
CMYK:
(0,98,2,68)
C0M98Y2K68 
(0%,98%,2%,68%)
(0.00/0.98/0.02/0.68)	

CMYK percentages

%0
%97.53
%2.47
%68.24

Codes

Color #51024F in popluar color models

51024F
RGB81279
HSL302°95.18%16.27%
HSB/HSV302°97.53%31.76%
CMYK0.00%97.53%2.47%
68.24%

Color #51024F in popluar number systems.

HEX51024F
Decimal81279
Binary1010001101001111
Octal1212117

Shades and tints

Shades of #51024F

#51024F
(81,2,79)
#4A0248
(74,2,72)
#430241
(67,2,65)
#3C023A
(60,2,58)
#350233
(53,2,51)
#2E022C
(46,2,44)
#270225
(39,2,37)
#20021E
(32,2,30)
#190217
(25,2,23)
#120210
(18,2,16)
#0B0209
(11,2,9)
#000000
(0,0,0)

Tints of #51024F

#51024F
(81,2,79)
#60195F
(96,25,95)
#6F306F
(111,48,111)
#7E477F
(126,71,127)
#8D5E8F
(141,94,143)
#9C759F
(156,117,159)
#AB8CAF
(171,140,175)
#BAA3BF
(186,163,191)
#C9BACF
(201,186,207)
#D8D1DF
(216,209,223)
#E7E8EF
(231,232,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51024F color. Also use rgb(81,2,79) instead hex code.

Text Font Color

.myTextColor { color: #51024F; }

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

This text font color is #51024F.


Background Color

.myBgColor { background-color: #51024F; }

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

This div background color is #51024F.


Border color

.myBorderColor { border: 1px solid #51024F; }

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

This div border color is #51024F.


Opacity

.myOpacity80 { color: #51024F; opacity: 0.8; }

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

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

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

This text has shadow with #51024F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #51024F on black background.


Color preview on white background

This text has color #51024F on white background.



Black color preview on #51024F background

This text has black color on #51024F background.


White color preview on #51024F background

This text has white color on #51024F background.