COLOR #510740

HEX: #510740
RGB: (81,7,64)

Color info

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

RGB color model

#510740 color RGB value is (81,7,64).

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

RGB channels and saturation

R 81 of 255 = 32%
G 7 of 255 = 3%
B 64 of 255 = 25%

81
7
64

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

Portions of RGB colors in percentages

R + G + B =
81 + 7 + 64 = 152 (100%)
R 81 of 152 ~ 53.29%
G 7 of 152 ~ 4.61%
B 64 of 152 ~ 42.11%

%53.29
%42.11

CMYK color model

#510740 color CMYK value is (0,91,21,68).

  • cyan value is 0.00%
  • magenta value is 91.36%
  • yellow value is 20.99%
  • key color value is 68.24%
CMYK: (0,91,21,68) C0M91Y21K68 (0%,91%,21%,68%) (0.00/0.91/0.21/0.68)

CMYK percentages

%0
%91.36
%20.99
%68.24

Codes

Color #510740 in popluar color models

510740
RGB81764
HSL314°84.09%17.25%
HSB/HSV314°91.36%31.76%
CMYK0.00%91.36%20.99%
68.24%

Color #510740 in popluar number systems.

HEX510740
Decimal81764
Binary10100011111000000
Octal1217100

Shades and tints

Shades of #510740

#510740
(81,7,64)
#4A073B
(74,7,59)
#430736
(67,7,54)
#3C0731
(60,7,49)
#35072C
(53,7,44)
#2E0727
(46,7,39)
#270722
(39,7,34)
#20071D
(32,7,29)
#190718
(25,7,24)
#120713
(18,7,19)
#0B070E
(11,7,14)
#000000
(0,0,0)

Tints of #510740

#510740
(81,7,64)
#601D51
(96,29,81)
#6F3362
(111,51,98)
#7E4973
(126,73,115)
#8D5F84
(141,95,132)
#9C7595
(156,117,149)
#AB8BA6
(171,139,166)
#BAA1B7
(186,161,183)
#C9B7C8
(201,183,200)
#D8CDD9
(216,205,217)
#E7E3EA
(231,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #510740; }

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

This text font color is #510740.


Background Color

.myBgColor { background-color: #510740; }

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

This div background color is #510740.


Border color

.myBorderColor { border: 1px solid #510740; }

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

This div border color is #510740.


Opacity

.myOpacity80 { color: #510740; opacity: 0.8; }

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

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

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

This text has shadow with #510740 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #510740 on black background.


Color preview on white background

This text has color #510740 on white background.



Black color preview on #510740 background

This text has black color on #510740 background.


White color preview on #510740 background

This text has white color on #510740 background.