COLOR #5154D6

HEX: #5154D6
RGB: (81,84,214)

Color info

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

RGB color model

#5154D6 color RGB value is (81,84,214).

  • red value is 81;
  • green value is 84;
  • blue value is 214.
RGB:
(81,84,214)
(32%,33%,84%)

RGB channels and saturation

R 81 of 255 = 32%
G 84 of 255 = 33%
B 214 of 255 = 84%

81
84
214

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

Portions of RGB colors in percentages

R + G + B =
81 + 84 + 214 = 379 (100%)
R 81 of 379 ~ 21.37%
G 84 of 379 ~ 22.16%
B 214 of 379 ~ 56.46%

%21.37
%22.16
%56.46

CMYK color model

#5154D6 color CMYK value is (62,61,0,16).

  • cyan value is 62.15%
  • magenta value is 60.75%
  • yellow value is 0.00%
  • key color value is 16.08%
CMYK:
(62,61,0,16)
C62M61Y0K16 
(62%,61%,0%,16%)
(0.62/0.61/0.00/0.16)	

CMYK percentages

%62.15
%60.75
%0
%16.08

Codes

Color #5154D6 in popluar color models

5154D6
RGB8184214
HSL239°61.86%57.84%
HSB/HSV239°62.15%83.92%
CMYK62.15%60.75%0.00%
16.08%

Color #5154D6 in popluar number systems.

HEX5154D6
Decimal8184214
Binary1010001101010011010110
Octal121124326

Shades and tints

Shades of #5154D6

#5154D6
(81,84,214)
#4A4DC3
(74,77,195)
#4346B0
(67,70,176)
#3C3F9D
(60,63,157)
#35388A
(53,56,138)
#2E3177
(46,49,119)
#272A64
(39,42,100)
#202351
(32,35,81)
#191C3E
(25,28,62)
#12152B
(18,21,43)
#0B0E18
(11,14,24)
#000000
(0,0,0)

Tints of #5154D6

#5154D6
(81,84,214)
#6063D9
(96,99,217)
#6F72DC
(111,114,220)
#7E81DF
(126,129,223)
#8D90E2
(141,144,226)
#9C9FE5
(156,159,229)
#ABAEE8
(171,174,232)
#BABDEB
(186,189,235)
#C9CCEE
(201,204,238)
#D8DBF1
(216,219,241)
#E7EAF4
(231,234,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5154D6 color. Also use rgb(81,84,214) instead hex code.

Text Font Color

.myTextColor { color: #5154D6; }

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

This text font color is #5154D6.


Background Color

.myBgColor { background-color: #5154D6; }

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

This div background color is #5154D6.


Border color

.myBorderColor { border: 1px solid #5154D6; }

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

This div border color is #5154D6.


Opacity

.myOpacity80 { color: #5154D6; opacity: 0.8; }

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

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

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

This text has shadow with #5154D6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5154D6 on black background.


Color preview on white background

This text has color #5154D6 on white background.



Black color preview on #5154D6 background

This text has black color on #5154D6 background.


White color preview on #5154D6 background

This text has white color on #5154D6 background.