COLOR #510A40

HEX: #510A40
RGB: (81,10,64)

Color info

#510A40 contains mainly red and blue colors. Web safe color of #510A40 is #660033 (or #603).

RGB color model

#510A40 color RGB value is (81,10,64).

  • red value is 81;
  • green value is 10;
  • blue value is 64.
RGB:
(81,10,64)
(32%,4%,25%)

RGB channels and saturation

R 81 of 255 = 32%
G 10 of 255 = 4%
B 64 of 255 = 25%

81
10
64

R + G + B ~ 20%. #510A40 is dark color.

Portions of RGB colors in percentages

R + G + B =
81 + 10 + 64 = 155 (100%)
R 81 of 155 ~ 52.26%
G 10 of 155 ~ 6.45%
B 64 of 155 ~ 41.29%

%52.26
%41.29

CMYK color model

#510A40 color CMYK value is (0,88,21,68).

  • cyan value is 0.00%
  • magenta value is 87.65%
  • yellow value is 20.99%
  • key color value is 68.24%
CMYK:
(0,88,21,68)
C0M88Y21K68 
(0%,88%,21%,68%)
(0.00/0.88/0.21/0.68)	

CMYK percentages

%0
%87.65
%20.99
%68.24

Codes

Color #510A40 in popluar color models

510A40
RGB811064
HSL314°78.02%17.84%
HSB/HSV314°87.65%31.76%
CMYK0.00%87.65%20.99%
68.24%

Color #510A40 in popluar number systems.

HEX510A40
Decimal811064
Binary101000110101000000
Octal12112100

Shades and tints

Shades of #510A40

#510A40
(81,10,64)
#4A0A3B
(74,10,59)
#430A36
(67,10,54)
#3C0A31
(60,10,49)
#350A2C
(53,10,44)
#2E0A27
(46,10,39)
#270A22
(39,10,34)
#200A1D
(32,10,29)
#190A18
(25,10,24)
#120A13
(18,10,19)
#0B0A0E
(11,10,14)
#000000
(0,0,0)

Tints of #510A40

#510A40
(81,10,64)
#602051
(96,32,81)
#6F3662
(111,54,98)
#7E4C73
(126,76,115)
#8D6284
(141,98,132)
#9C7895
(156,120,149)
#AB8EA6
(171,142,166)
#BAA4B7
(186,164,183)
#C9BAC8
(201,186,200)
#D8D0D9
(216,208,217)
#E7E6EA
(231,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #510A40 color. Also use rgb(81,10,64) instead hex code.

Text Font Color

.myTextColor { color: #510A40; }

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

This text font color is #510A40.


Background Color

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

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

This div background color is #510A40.


Border color

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

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

This div border color is #510A40.


Opacity

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

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

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

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

This text has shadow with #510A40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #510A40 on black background.


Color preview on white background

This text has color #510A40 on white background.



Black color preview on #510A40 background

This text has black color on #510A40 background.


White color preview on #510A40 background

This text has white color on #510A40 background.