COLOR #51297E

HEX: #51297E RGB: (81,41,126)

Color info

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

RGB color model

#51297E color RGB value is (81,41,126).

RGB: (81,41,126) (32%, 16%, 49%)

RGB channels and saturation

R 81 of 255 = 32%
G 41 of 255 = 16%
B 126 of 255 = 49%

81
41
126

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

Portions of RGB colors in percentages

R + G + B = 81 + 41 + 126 = 248 (100%)
R 81 of 248 ~ 32.66%
G 41 of 248 ~ 16.53%
B 126 of 248 ~ 50.81'%

%32.66
%16.53
%50.81

CMYK color model

#51297E color CMYK value is (36,67,0,51).

  • cyan value is 35.71%
  • magenta value is 67.46%
  • yellow value is 0.00%
  • key color value is 50.59%

CMYK: (36,67,0,51)
C36M67Y0K51 (36%, 67%, 0%, 51%)
(0.36 / 0.67 / 0.00 / 0.51)

CMYK percentages

%35.71
%67.46
%0
%50.59

Codes

Color #51297E in popluar color models

51 29 7E
RGB 81 41 126
HSL 268° 50.90% 32.75%
HSB/HSV 268° 67.46% 49.41%
CMYK 35.71% 67.46% 0.00%
50.59%

Color #51297E in popluar number systems.

HEX 51 29 7E
Decimal 81 41 126
Binary 1010001 101001 1111110
Octal 121 51 176

Shades and tints

Shades of #51297E

#51297E
(81,41,126)
#4A2673
(74,38,115)
#432368
(67,35,104)
#3C205D
(60,32,93)
#351D52
(53,29,82)
#2E1A47
(46,26,71)
#27173C
(39,23,60)
#201431
(32,20,49)
#191126
(25,17,38)
#120E1B
(18,14,27)
#0B0B10
(11,11,16)
#000000
(0,0,0)

Tints of #51297E

#51297E
(81,41,126)
#603C89
(96,60,137)
#6F4F94
(111,79,148)
#7E629F
(126,98,159)
#8D75AA
(141,117,170)
#9C88B5
(156,136,181)
#AB9BC0
(171,155,192)
#BAAECB
(186,174,203)
#C9C1D6
(201,193,214)
#D8D4E1
(216,212,225)
#E7E7EC
(231,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51297E color. Also use rgb(81,41,126) instead hex code.

Text Font Color

.myTextColor { color: #51297E; }

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

This text font color is #51297E.

Background Color

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

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

This div background color is #51297E.

Border color

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

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

This div border color is #51297E.

Opacity

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

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

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

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

This text has shadow with #51297E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #51297E.

Preview

Color preview on black background

This text has color #51297E on black background.


Color preview on white background

This text has color #51297E on white background.


Black color preview on #51297E background

This text has black color on #51297E background.


White color preview on #51297E background

This text has white color on #51297E background.


Related colors

Complementary color

Complementary color for #hex is #AED681.


I love getcolorcode.com

Triadic colors

1 #7E5129 and #297E51 with #51297E are triadic colors.

2 #7E2951 and #29517E with #51297E are triadic colors.