COLOR #510C52

HEX: #510C52
RGB: (81,12,82)

Color info

#510C52 contains mainly red and blue colors. Web safe color of #510C52 is #660066 (or #606).

RGB color model

#510C52 color RGB value is (81,12,82).

  • red value is 81;
  • green value is 12;
  • blue value is 82.
RGB:
(81,12,82)
(32%,5%,32%)

RGB channels and saturation

R 81 of 255 = 32%
G 12 of 255 = 5%
B 82 of 255 = 32%

81
12
82

R + G + B ~ 23%. #510C52 is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 12 + 82 = 175 (100%)
R 81 of 175 ~ 46.29%
G 12 of 175 ~ 6.86%
B 82 of 175 ~ 46.86%

%46.29
%46.86

CMYK color model

#510C52 color CMYK value is (1,85,0,68).

  • cyan value is 1.22%
  • magenta value is 85.37%
  • yellow value is 0.00%
  • key color value is 67.84%
CMYK:
(1,85,0,68)
C1M85Y0K68 
(1%,85%,0%,68%)
(0.01/0.85/0.00/0.68)	

CMYK percentages

%1.22
%85.37
%0
%67.84

Codes

Color #510C52 in popluar color models

510C52
RGB811282
HSL299°74.47%18.43%
HSB/HSV299°85.37%32.16%
CMYK1.22%85.37%0.00%
67.84%

Color #510C52 in popluar number systems.

HEX510C52
Decimal811282
Binary101000111001010010
Octal12114122

Shades and tints

Shades of #510C52

#510C52
(81,12,82)
#4A0B4B
(74,11,75)
#430A44
(67,10,68)
#3C093D
(60,9,61)
#350836
(53,8,54)
#2E072F
(46,7,47)
#270628
(39,6,40)
#200521
(32,5,33)
#19041A
(25,4,26)
#120313
(18,3,19)
#0B020C
(11,2,12)
#000000
(0,0,0)

Tints of #510C52

#510C52
(81,12,82)
#602261
(96,34,97)
#6F3870
(111,56,112)
#7E4E7F
(126,78,127)
#8D648E
(141,100,142)
#9C7A9D
(156,122,157)
#AB90AC
(171,144,172)
#BAA6BB
(186,166,187)
#C9BCCA
(201,188,202)
#D8D2D9
(216,210,217)
#E7E8E8
(231,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #510C52 color. Also use rgb(81,12,82) instead hex code.

Text Font Color

.myTextColor { color: #510C52; }

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

This text font color is #510C52.


Background Color

.myBgColor { background-color: #510C52; }

<div style="background-color:#510C52">Inner text</div>

This div background color is #510C52.


Border color

.myBorderColor { border: 1px solid #510C52; }

<div style="border:3px solid #510C52">Div</div>

This div border color is #510C52.


Opacity

.myOpacity80 { color: #510C52; opacity: 0.8; }

<p style="color:#510C52;opacity:0.8;">80%</p>

Text with #510C52 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 #510C52;}

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

This text has shadow with #510C52 color.

.textShadow {text-shadow: 3px 3px 1px #510C52, 3px 3px 1px red;}

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

This text has shadow with #510C52 primary color and red secondary color.


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

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

This text has shadow with #510C52 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #510C52 on black background.


Color preview on white background

This text has color #510C52 on white background.



Black color preview on #510C52 background

This text has black color on #510C52 background.


White color preview on #510C52 background

This text has white color on #510C52 background.