COLOR #5151D9

HEX: #5151D9
RGB: (81,81,217)

Color info

#5151D9 contains mainly blue color. Web safe color of #5151D9 is #6666CC (or #66C).

RGB color model

#5151D9 color RGB value is (81,81,217).

  • red value is 81;
  • green value is 81;
  • blue value is 217.
RGB:
(81,81,217)
(32%,32%,85%)

RGB channels and saturation

R 81 of 255 = 32%
G 81 of 255 = 32%
B 217 of 255 = 85%

81
81
217

R + G + B ~ 50%. #5151D9 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
81 + 81 + 217 = 379 (100%)
R 81 of 379 ~ 21.37%
G 81 of 379 ~ 21.37%
B 217 of 379 ~ 57.26%

%21.37
%21.37
%57.26

CMYK color model

#5151D9 color CMYK value is (63,63,0,15).

  • cyan value is 62.67%
  • magenta value is 62.67%
  • yellow value is 0.00%
  • key color value is 14.90%
CMYK:
(63,63,0,15)
C63M63Y0K15 
(63%,63%,0%,15%)
(0.63/0.63/0.00/0.15)	

CMYK percentages

%62.67
%62.67
%0
%14.9

Codes

Color #5151D9 in popluar color models

5151D9
RGB8181217
HSL240°64.15%58.43%
HSB/HSV240°62.67%85.10%
CMYK62.67%62.67%0.00%
14.90%

Color #5151D9 in popluar number systems.

HEX5151D9
Decimal8181217
Binary1010001101000111011001
Octal121121331

Shades and tints

Shades of #5151D9

#5151D9
(81,81,217)
#4A4AC6
(74,74,198)
#4343B3
(67,67,179)
#3C3CA0
(60,60,160)
#35358D
(53,53,141)
#2E2E7A
(46,46,122)
#272767
(39,39,103)
#202054
(32,32,84)
#191941
(25,25,65)
#12122E
(18,18,46)
#0B0B1B
(11,11,27)
#000000
(0,0,0)

Tints of #5151D9

#5151D9
(81,81,217)
#6060DC
(96,96,220)
#6F6FDF
(111,111,223)
#7E7EE2
(126,126,226)
#8D8DE5
(141,141,229)
#9C9CE8
(156,156,232)
#ABABEB
(171,171,235)
#BABAEE
(186,186,238)
#C9C9F1
(201,201,241)
#D8D8F4
(216,216,244)
#E7E7F7
(231,231,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5151D9 color. Also use rgb(81,81,217) instead hex code.

Text Font Color

.myTextColor { color: #5151D9; }

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

This text font color is #5151D9.


Background Color

.myBgColor { background-color: #5151D9; }

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

This div background color is #5151D9.


Border color

.myBorderColor { border: 1px solid #5151D9; }

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

This div border color is #5151D9.


Opacity

.myOpacity80 { color: #5151D9; opacity: 0.8; }

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

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

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

This text has shadow with #5151D9 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5151D9 on black background.


Color preview on white background

This text has color #5151D9 on white background.



Black color preview on #5151D9 background

This text has black color on #5151D9 background.


White color preview on #5151D9 background

This text has white color on #5151D9 background.