COLOR #51148C

HEX: #51148C
RGB: (81,20,140)

Color info

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

RGB color model

#51148C color RGB value is (81,20,140).

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

RGB channels and saturation

R 81 of 255 = 32%
G 20 of 255 = 8%
B 140 of 255 = 55%

81
20
140

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

Portions of RGB colors in percentages

R + G + B =
81 + 20 + 140 = 241 (100%)
R 81 of 241 ~ 33.61%
G 20 of 241 ~ 8.3%
B 140 of 241 ~ 58.09%

%33.61
%58.09

CMYK color model

#51148C color CMYK value is (42,86,0,45).

  • cyan value is 42.14%
  • magenta value is 85.71%
  • yellow value is 0.00%
  • key color value is 45.10%
CMYK:
(42,86,0,45)
C42M86Y0K45 
(42%,86%,0%,45%)
(0.42/0.86/0.00/0.45)	

CMYK percentages

%42.14
%85.71
%0
%45.1

Codes

Color #51148C in popluar color models

51148C
RGB8120140
HSL271°75.00%31.37%
HSB/HSV271°85.71%54.90%
CMYK42.14%85.71%0.00%
45.10%

Color #51148C in popluar number systems.

HEX51148C
Decimal8120140
Binary10100011010010001100
Octal12124214

Shades and tints

Shades of #51148C

#51148C
(81,20,140)
#4A1380
(74,19,128)
#431274
(67,18,116)
#3C1168
(60,17,104)
#35105C
(53,16,92)
#2E0F50
(46,15,80)
#270E44
(39,14,68)
#200D38
(32,13,56)
#190C2C
(25,12,44)
#120B20
(18,11,32)
#0B0A14
(11,10,20)
#000000
(0,0,0)

Tints of #51148C

#51148C
(81,20,140)
#602996
(96,41,150)
#6F3EA0
(111,62,160)
#7E53AA
(126,83,170)
#8D68B4
(141,104,180)
#9C7DBE
(156,125,190)
#AB92C8
(171,146,200)
#BAA7D2
(186,167,210)
#C9BCDC
(201,188,220)
#D8D1E6
(216,209,230)
#E7E6F0
(231,230,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #51148C; }

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

This text font color is #51148C.


Background Color

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

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

This div background color is #51148C.


Border color

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

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

This div border color is #51148C.


Opacity

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

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

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

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

This text has shadow with #51148C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #51148C on black background.


Color preview on white background

This text has color #51148C on white background.



Black color preview on #51148C background

This text has black color on #51148C background.


White color preview on #51148C background

This text has white color on #51148C background.