COLOR #51188C

HEX: #51188C
RGB: (81,24,140)

Color info

#51188C contains mainly red and blue colors. Web safe color of #51188C is #660099 (or #609).

RGB color model

#51188C color RGB value is (81,24,140).

  • red value is 81;
  • green value is 24;
  • blue value is 140.
RGB:
(81,24,140)
(32%,9%,55%)

RGB channels and saturation

R 81 of 255 = 32%
G 24 of 255 = 9%
B 140 of 255 = 55%

81
24
140

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

Portions of RGB colors in percentages

R + G + B =
81 + 24 + 140 = 245 (100%)
R 81 of 245 ~ 33.06%
G 24 of 245 ~ 9.8%
B 140 of 245 ~ 57.14%

%33.06
%9.8
%57.14

CMYK color model

#51188C color CMYK value is (42,83,0,45).

  • cyan value is 42.14%
  • magenta value is 82.86%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(42,83,0,45)
C42M83Y0K45 
(42%,83%,0%,45%)
(0.42/0.83/0.00/0.45)	

CMYK percentages

%42.14
%82.86
%0
%45.1

Codes

Color #51188C in popluar color models

51188C
RGB8124140
HSL269°70.73%32.16%
HSB/HSV269°82.86%54.90%
CMYK42.14%82.86%0.00%
45.10%

Color #51188C in popluar number systems.

HEX51188C
Decimal8124140
Binary10100011100010001100
Octal12130214

Shades and tints

Shades of #51188C

#51188C
(81,24,140)
#4A1680
(74,22,128)
#431474
(67,20,116)
#3C1268
(60,18,104)
#35105C
(53,16,92)
#2E0E50
(46,14,80)
#270C44
(39,12,68)
#200A38
(32,10,56)
#19082C
(25,8,44)
#120620
(18,6,32)
#0B0414
(11,4,20)
#000000
(0,0,0)

Tints of #51188C

#51188C
(81,24,140)
#602D96
(96,45,150)
#6F42A0
(111,66,160)
#7E57AA
(126,87,170)
#8D6CB4
(141,108,180)
#9C81BE
(156,129,190)
#AB96C8
(171,150,200)
#BAABD2
(186,171,210)
#C9C0DC
(201,192,220)
#D8D5E6
(216,213,230)
#E7EAF0
(231,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51188C color. Also use rgb(81,24,140) instead hex code.

Text Font Color

.myTextColor { color: #51188C; }

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

This text font color is #51188C.


Background Color

.myBgColor { background-color: #51188C; }

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

This div background color is #51188C.


Border color

.myBorderColor { border: 1px solid #51188C; }

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

This div border color is #51188C.


Opacity

.myOpacity80 { color: #51188C; opacity: 0.8; }

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

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

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

This text has shadow with #51188C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #51188C on black background.


Color preview on white background

This text has color #51188C on white background.



Black color preview on #51188C background

This text has black color on #51188C background.


White color preview on #51188C background

This text has white color on #51188C background.