COLOR #512B74

HEX: #512B74 RGB: (81,43,116)

Color info

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

RGB color model

#512B74 color RGB value is (81,43,116).

RGB: (81,43,116) (32%, 17%, 45%)

RGB channels and saturation

R 81 of 255 = 32%
G 43 of 255 = 17%
B 116 of 255 = 45%

81
43
116

R + G + B ~ 31%. #512B74 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 43 + 116 = 240 (100%)
R 81 of 240 ~ 33.75%
G 43 of 240 ~ 17.92%
B 116 of 240 ~ 48.33'%

%33.75
%17.92
%48.33

CMYK color model

#512B74 color CMYK value is (30,63,0,55).

  • cyan value is 30.17%
  • magenta value is 62.93%
  • yellow value is 0.00%
  • key color value is 54.51%

CMYK: (30,63,0,55)
C30M63Y0K55 (30%, 63%, 0%, 55%)
(0.30 / 0.63 / 0.00 / 0.55)

CMYK percentages

%30.17
%62.93
%0
%54.51

Codes

Color #512B74 in popluar color models

51 2B 74
RGB 81 43 116
HSL 271° 45.91% 31.18%
HSB/HSV 271° 62.93% 45.49%
CMYK 30.17% 62.93% 0.00%
54.51%

Color #512B74 in popluar number systems.

HEX 51 2B 74
Decimal 81 43 116
Binary 1010001 101011 1110100
Octal 121 53 164

Shades and tints

Shades of #512B74

#512B74
(81,43,116)
#4A286A
(74,40,106)
#432560
(67,37,96)
#3C2256
(60,34,86)
#351F4C
(53,31,76)
#2E1C42
(46,28,66)
#271938
(39,25,56)
#20162E
(32,22,46)
#191324
(25,19,36)
#12101A
(18,16,26)
#0B0D10
(11,13,16)
#000000
(0,0,0)

Tints of #512B74

#512B74
(81,43,116)
#603E80
(96,62,128)
#6F518C
(111,81,140)
#7E6498
(126,100,152)
#8D77A4
(141,119,164)
#9C8AB0
(156,138,176)
#AB9DBC
(171,157,188)
#BAB0C8
(186,176,200)
#C9C3D4
(201,195,212)
#D8D6E0
(216,214,224)
#E7E9EC
(231,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512B74 color. Also use rgb(81,43,116) instead hex code.

Text Font Color

.myTextColor { color: #512B74; }

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

This text font color is #512B74.

Background Color

.myBgColor { background-color: #512B74; }

<div style="background-color:#512B74">Inner text</div>

This div background color is #512B74.

Border color

.myBorderColor { border: 1px solid #512B74; }

<div style="border:3px solid #512B74">Div</div>

This div border color is #512B74.

Opacity

.myOpacity80 { color: #512B74; opacity: 0.8; }

<p style="color:#512B74;opacity:0.8;">80%</p>

Text with #512B74 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 #512B74;}

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

This text has shadow with #512B74 color.


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

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

This text has shadow with #512B74 primary color and red secondary color.


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

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

This text has shadow with #512B74 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #512B74.

Preview

Color preview on black background

This text has color #512B74 on black background.


Color preview on white background

This text has color #512B74 on white background.


Black color preview on #512B74 background

This text has black color on #512B74 background.


White color preview on #512B74 background

This text has white color on #512B74 background.


Related colors

Complementary color

Complementary color for #hex is #AED48B.


I love getcolorcode.com

Triadic colors

1 #74512B and #2B7451 with #512B74 are triadic colors.

2 #742B51 and #2B5174 with #512B74 are triadic colors.