COLOR #5158E2

HEX: #5158E2
RGB: (81,88,226)

Color info

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

RGB color model

#5158E2 color RGB value is (81,88,226).

  • red value is 81;
  • green value is 88;
  • blue value is 226.
RGB:
(81,88,226)
(32%,35%,89%)

RGB channels and saturation

R 81 of 255 = 32%
G 88 of 255 = 35%
B 226 of 255 = 89%

81
88
226

R + G + B ~ 52%. #5158E2 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
81 + 88 + 226 = 395 (100%)
R 81 of 395 ~ 20.51%
G 88 of 395 ~ 22.28%
B 226 of 395 ~ 57.22%

%20.51
%22.28
%57.22

CMYK color model

#5158E2 color CMYK value is (64,61,0,11).

  • cyan value is 64.16%
  • magenta value is 61.06%
  • yellow value is 0.00%
  • key color value is 11.37%
CMYK:
(64,61,0,11)
C64M61Y0K11 
(64%,61%,0%,11%)
(0.64/0.61/0.00/0.11)	

CMYK percentages

%64.16
%61.06
%0
%11.37

Codes

Color #5158E2 in popluar color models

5158E2
RGB8188226
HSL237°71.43%60.20%
HSB/HSV237°64.16%88.63%
CMYK64.16%61.06%0.00%
11.37%

Color #5158E2 in popluar number systems.

HEX5158E2
Decimal8188226
Binary1010001101100011100010
Octal121130342

Shades and tints

Shades of #5158E2

#5158E2
(81,88,226)
#4A50CE
(74,80,206)
#4348BA
(67,72,186)
#3C40A6
(60,64,166)
#353892
(53,56,146)
#2E307E
(46,48,126)
#27286A
(39,40,106)
#202056
(32,32,86)
#191842
(25,24,66)
#12102E
(18,16,46)
#0B081A
(11,8,26)
#000000
(0,0,0)

Tints of #5158E2

#5158E2
(81,88,226)
#6067E4
(96,103,228)
#6F76E6
(111,118,230)
#7E85E8
(126,133,232)
#8D94EA
(141,148,234)
#9CA3EC
(156,163,236)
#ABB2EE
(171,178,238)
#BAC1F0
(186,193,240)
#C9D0F2
(201,208,242)
#D8DFF4
(216,223,244)
#E7EEF6
(231,238,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5158E2 color. Also use rgb(81,88,226) instead hex code.

Text Font Color

.myTextColor { color: #5158E2; }

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

This text font color is #5158E2.


Background Color

.myBgColor { background-color: #5158E2; }

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

This div background color is #5158E2.


Border color

.myBorderColor { border: 1px solid #5158E2; }

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

This div border color is #5158E2.


Opacity

.myOpacity80 { color: #5158E2; opacity: 0.8; }

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

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

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

This text has shadow with #5158E2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5158E2 on black background.


Color preview on white background

This text has color #5158E2 on white background.



Black color preview on #5158E2 background

This text has black color on #5158E2 background.


White color preview on #5158E2 background

This text has white color on #5158E2 background.