COLOR #5161A8

HEX: #5161A8
RGB: (81,97,168)

Color info

#5161A8 contains mainly blue color. Web safe color of #5161A8 is #666699 (or #669).

RGB color model

#5161A8 color RGB value is (81,97,168).

  • red value is 81;
  • green value is 97;
  • blue value is 168.
RGB:
(81,97,168)
(32%,38%,66%)

RGB channels and saturation

R 81 of 255 = 32%
G 97 of 255 = 38%
B 168 of 255 = 66%

81
97
168

R + G + B ~ 45%. #5161A8 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
81 + 97 + 168 = 346 (100%)
R 81 of 346 ~ 23.41%
G 97 of 346 ~ 28.03%
B 168 of 346 ~ 48.55%

%23.41
%28.03
%48.55

CMYK color model

#5161A8 color CMYK value is (52,42,0,34).

  • cyan value is 51.79%
  • magenta value is 42.26%
  • yellow value is 0.00%
  • key color value is 34.12%
CMYK:
(52,42,0,34)
C52M42Y0K34 
(52%,42%,0%,34%)
(0.52/0.42/0.00/0.34)	

CMYK percentages

%51.79
%42.26
%0
%34.12

Codes

Color #5161A8 in popluar color models

5161A8
RGB8197168
HSL229°34.94%48.82%
HSB/HSV229°51.79%65.88%
CMYK51.79%42.26%0.00%
34.12%

Color #5161A8 in popluar number systems.

HEX5161A8
Decimal8197168
Binary1010001110000110101000
Octal121141250

Shades and tints

Shades of #5161A8

#5161A8
(81,97,168)
#4A5999
(74,89,153)
#43518A
(67,81,138)
#3C497B
(60,73,123)
#35416C
(53,65,108)
#2E395D
(46,57,93)
#27314E
(39,49,78)
#20293F
(32,41,63)
#192130
(25,33,48)
#121921
(18,25,33)
#0B1112
(11,17,18)
#000000
(0,0,0)

Tints of #5161A8

#5161A8
(81,97,168)
#606FAF
(96,111,175)
#6F7DB6
(111,125,182)
#7E8BBD
(126,139,189)
#8D99C4
(141,153,196)
#9CA7CB
(156,167,203)
#ABB5D2
(171,181,210)
#BAC3D9
(186,195,217)
#C9D1E0
(201,209,224)
#D8DFE7
(216,223,231)
#E7EDEE
(231,237,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5161A8 color. Also use rgb(81,97,168) instead hex code.

Text Font Color

.myTextColor { color: #5161A8; }

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

This text font color is #5161A8.


Background Color

.myBgColor { background-color: #5161A8; }

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

This div background color is #5161A8.


Border color

.myBorderColor { border: 1px solid #5161A8; }

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

This div border color is #5161A8.


Opacity

.myOpacity80 { color: #5161A8; opacity: 0.8; }

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

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

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

This text has shadow with #5161A8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5161A8 on black background.


Color preview on white background

This text has color #5161A8 on white background.



Black color preview on #5161A8 background

This text has black color on #5161A8 background.


White color preview on #5161A8 background

This text has white color on #5161A8 background.