COLOR #51227C

HEX: #51227C
RGB: (81,34,124)

Color info

#51227C contains mainly red and blue colors. Web safe color of #51227C is #663366 (or #636).

RGB color model

#51227C color RGB value is (81,34,124).

  • red value is 81;
  • green value is 34;
  • blue value is 124.
RGB:
(81,34,124)
(32%,13%,49%)

RGB channels and saturation

R 81 of 255 = 32%
G 34 of 255 = 13%
B 124 of 255 = 49%

81
34
124

R + G + B ~ 31%. #51227C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 34 + 124 = 239 (100%)
R 81 of 239 ~ 33.89%
G 34 of 239 ~ 14.23%
B 124 of 239 ~ 51.88%

%33.89
%14.23
%51.88

CMYK color model

#51227C color CMYK value is (35,73,0,51).

  • cyan value is 34.68%
  • magenta value is 72.58%
  • yellow value is 0.00%
  • key color value is 51.37%
CMYK:
(35,73,0,51)
C35M73Y0K51 
(35%,73%,0%,51%)
(0.35/0.73/0.00/0.51)	

CMYK percentages

%34.68
%72.58
%0
%51.37

Codes

Color #51227C in popluar color models

51227C
RGB8134124
HSL271°56.96%30.98%
HSB/HSV271°72.58%48.63%
CMYK34.68%72.58%0.00%
51.37%

Color #51227C in popluar number systems.

HEX51227C
Decimal8134124
Binary10100011000101111100
Octal12142174

Shades and tints

Shades of #51227C

#51227C
(81,34,124)
#4A1F71
(74,31,113)
#431C66
(67,28,102)
#3C195B
(60,25,91)
#351650
(53,22,80)
#2E1345
(46,19,69)
#27103A
(39,16,58)
#200D2F
(32,13,47)
#190A24
(25,10,36)
#120719
(18,7,25)
#0B040E
(11,4,14)
#000000
(0,0,0)

Tints of #51227C

#51227C
(81,34,124)
#603687
(96,54,135)
#6F4A92
(111,74,146)
#7E5E9D
(126,94,157)
#8D72A8
(141,114,168)
#9C86B3
(156,134,179)
#AB9ABE
(171,154,190)
#BAAEC9
(186,174,201)
#C9C2D4
(201,194,212)
#D8D6DF
(216,214,223)
#E7EAEA
(231,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51227C color. Also use rgb(81,34,124) instead hex code.

Text Font Color

.myTextColor { color: #51227C; }

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

This text font color is #51227C.


Background Color

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

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

This div background color is #51227C.


Border color

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

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

This div border color is #51227C.


Opacity

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

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

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

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

This text has shadow with #51227C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #51227C on black background.


Color preview on white background

This text has color #51227C on white background.



Black color preview on #51227C background

This text has black color on #51227C background.


White color preview on #51227C background

This text has white color on #51227C background.