COLOR #5171E7

HEX: #5171E7
RGB: (81,113,231)

Color info

#5171E7 contains mainly blue color. Web safe color of #5171E7 is #6666FF (or #66F).

RGB color model

#5171E7 color RGB value is (81,113,231).

  • red value is 81;
  • green value is 113;
  • blue value is 231.
RGB:
(81,113,231)
(32%,44%,91%)

RGB channels and saturation

R 81 of 255 = 32%
G 113 of 255 = 44%
B 231 of 255 = 91%

81
113
231

R + G + B ~ 56%. #5171E7 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
81 + 113 + 231 = 425 (100%)
R 81 of 425 ~ 19.06%
G 113 of 425 ~ 26.59%
B 231 of 425 ~ 54.35%

%19.06
%26.59
%54.35

CMYK color model

#5171E7 color CMYK value is (65,51,0,9).

  • cyan value is 64.94%
  • magenta value is 51.08%
  • yellow value is 0.00%
  • key color value is 9.41%
CMYK:
(65,51,0,9)
C65M51Y0K9 
(65%,51%,0%,9%)
(0.65/0.51/0.00/0.09)	

CMYK percentages

%64.94
%51.08
%0
%9.41

Codes

Color #5171E7 in popluar color models

5171E7
RGB81113231
HSL227°75.76%61.18%
HSB/HSV227°64.94%90.59%
CMYK64.94%51.08%0.00%
9.41%

Color #5171E7 in popluar number systems.

HEX5171E7
Decimal81113231
Binary1010001111000111100111
Octal121161347

Shades and tints

Shades of #5171E7

#5171E7
(81,113,231)
#4A67D2
(74,103,210)
#435DBD
(67,93,189)
#3C53A8
(60,83,168)
#354993
(53,73,147)
#2E3F7E
(46,63,126)
#273569
(39,53,105)
#202B54
(32,43,84)
#19213F
(25,33,63)
#12172A
(18,23,42)
#0B0D15
(11,13,21)
#000000
(0,0,0)

Tints of #5171E7

#5171E7
(81,113,231)
#607DE9
(96,125,233)
#6F89EB
(111,137,235)
#7E95ED
(126,149,237)
#8DA1EF
(141,161,239)
#9CADF1
(156,173,241)
#ABB9F3
(171,185,243)
#BAC5F5
(186,197,245)
#C9D1F7
(201,209,247)
#D8DDF9
(216,221,249)
#E7E9FB
(231,233,251)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5171E7 color. Also use rgb(81,113,231) instead hex code.

Text Font Color

.myTextColor { color: #5171E7; }

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

This text font color is #5171E7.


Background Color

.myBgColor { background-color: #5171E7; }

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

This div background color is #5171E7.


Border color

.myBorderColor { border: 1px solid #5171E7; }

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

This div border color is #5171E7.


Opacity

.myOpacity80 { color: #5171E7; opacity: 0.8; }

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

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

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

This text has shadow with #5171E7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5171E7 on black background.


Color preview on white background

This text has color #5171E7 on white background.



Black color preview on #5171E7 background

This text has black color on #5171E7 background.


White color preview on #5171E7 background

This text has white color on #5171E7 background.