COLOR #51148E

HEX: #51148E
RGB: (81,20,142)

Color info

#51148E contains mainly blue color. Web safe color of #51148E is #660099 (or #609).

RGB color model

#51148E color RGB value is (81,20,142).

  • red value is 81;
  • green value is 20;
  • blue value is 142.
RGB:
(81,20,142)
(32%,8%,56%)

RGB channels and saturation

R 81 of 255 = 32%
G 20 of 255 = 8%
B 142 of 255 = 56%

81
20
142

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

Portions of RGB colors in percentages

R + G + B =
81 + 20 + 142 = 243 (100%)
R 81 of 243 ~ 33.33%
G 20 of 243 ~ 8.23%
B 142 of 243 ~ 58.44%

%33.33
%58.44

CMYK color model

#51148E color CMYK value is (43,86,0,44).

  • cyan value is 42.96%
  • magenta value is 85.92%
  • yellow value is 0.00%
  • key color value is 44.31%
CMYK:
(43,86,0,44)
C43M86Y0K44 
(43%,86%,0%,44%)
(0.43/0.86/0.00/0.44)	

CMYK percentages

%42.96
%85.92
%0
%44.31

Codes

Color #51148E in popluar color models

51148E
RGB8120142
HSL270°75.31%31.76%
HSB/HSV270°85.92%55.69%
CMYK42.96%85.92%0.00%
44.31%

Color #51148E in popluar number systems.

HEX51148E
Decimal8120142
Binary10100011010010001110
Octal12124216

Shades and tints

Shades of #51148E

#51148E
(81,20,142)
#4A1382
(74,19,130)
#431276
(67,18,118)
#3C116A
(60,17,106)
#35105E
(53,16,94)
#2E0F52
(46,15,82)
#270E46
(39,14,70)
#200D3A
(32,13,58)
#190C2E
(25,12,46)
#120B22
(18,11,34)
#0B0A16
(11,10,22)
#000000
(0,0,0)

Tints of #51148E

#51148E
(81,20,142)
#602998
(96,41,152)
#6F3EA2
(111,62,162)
#7E53AC
(126,83,172)
#8D68B6
(141,104,182)
#9C7DC0
(156,125,192)
#AB92CA
(171,146,202)
#BAA7D4
(186,167,212)
#C9BCDE
(201,188,222)
#D8D1E8
(216,209,232)
#E7E6F2
(231,230,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51148E color. Also use rgb(81,20,142) instead hex code.

Text Font Color

.myTextColor { color: #51148E; }

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

This text font color is #51148E.


Background Color

.myBgColor { background-color: #51148E; }

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

This div background color is #51148E.


Border color

.myBorderColor { border: 1px solid #51148E; }

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

This div border color is #51148E.


Opacity

.myOpacity80 { color: #51148E; opacity: 0.8; }

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

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

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

This text has shadow with #51148E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #51148E on black background.


Color preview on white background

This text has color #51148E on white background.



Black color preview on #51148E background

This text has black color on #51148E background.


White color preview on #51148E background

This text has white color on #51148E background.