COLOR #512C7C

HEX: #512C7C RGB: (81,44,124)

Color info

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

RGB color model

#512C7C color RGB value is (81,44,124).

RGB: (81,44,124) (32%, 17%, 49%)

RGB channels and saturation

R 81 of 255 = 32%
G 44 of 255 = 17%
B 124 of 255 = 49%

81
44
124

R + G + B ~ 33%. #512C7C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 44 + 124 = 249 (100%)
R 81 of 249 ~ 32.53%
G 44 of 249 ~ 17.67%
B 124 of 249 ~ 49.8'%

%32.53
%17.67
%49.8

CMYK color model

#512C7C color CMYK value is (35,65,0,51).

  • cyan value is 34.68%
  • magenta value is 64.52%
  • yellow value is 0.00%
  • key color value is 51.37%

CMYK: (35,65,0,51)
C35M65Y0K51 (35%, 65%, 0%, 51%)
(0.35 / 0.65 / 0.00 / 0.51)

CMYK percentages

%34.68
%64.52
%0
%51.37

Codes

Color #512C7C in popluar color models

51 2C 7C
RGB 81 44 124
HSL 268° 47.62% 32.94%
HSB/HSV 268° 64.52% 48.63%
CMYK 34.68% 64.52% 0.00%
51.37%

Color #512C7C in popluar number systems.

HEX 51 2C 7C
Decimal 81 44 124
Binary 1010001 101100 1111100
Octal 121 54 174

Shades and tints

Shades of #512C7C

#512C7C
(81,44,124)
#4A2871
(74,40,113)
#432466
(67,36,102)
#3C205B
(60,32,91)
#351C50
(53,28,80)
#2E1845
(46,24,69)
#27143A
(39,20,58)
#20102F
(32,16,47)
#190C24
(25,12,36)
#120819
(18,8,25)
#0B040E
(11,4,14)
#000000
(0,0,0)

Tints of #512C7C

#512C7C
(81,44,124)
#603F87
(96,63,135)
#6F5292
(111,82,146)
#7E659D
(126,101,157)
#8D78A8
(141,120,168)
#9C8BB3
(156,139,179)
#AB9EBE
(171,158,190)
#BAB1C9
(186,177,201)
#C9C4D4
(201,196,212)
#D8D7DF
(216,215,223)
#E7EAEA
(231,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #512C7C color. Also use rgb(81,44,124) instead hex code.

Text Font Color

.myTextColor { color: #512C7C; }

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

This text font color is #512C7C.

Background Color

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

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

This div background color is #512C7C.

Border color

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

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

This div border color is #512C7C.

Opacity

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

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

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

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

This text has shadow with #512C7C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #512C7C.

Preview

Color preview on black background

This text has color #512C7C on black background.


Color preview on white background

This text has color #512C7C on white background.


Black color preview on #512C7C background

This text has black color on #512C7C background.


White color preview on #512C7C background

This text has white color on #512C7C background.


Related colors

Complementary color

Complementary color for #hex is #AED383.


I love getcolorcode.com

Triadic colors

1 #7C512C and #2C7C51 with #512C7C are triadic colors.

2 #7C2C51 and #2C517C with #512C7C are triadic colors.