COLOR #5F6398

HEX: #5F6398
RGB: (95,99,152)

Color info

#5F6398 contains red, green and blue colors in about the same proportion. Web safe color of #5F6398 is #666699 (or #669).

RGB color model

#5F6398 color RGB value is (95,99,152).

  • red value is 95;
  • green value is 99;
  • blue value is 152.
RGB:
(95,99,152)
(37%,39%,60%)

RGB channels and saturation

R 95 of 255 = 37%
G 99 of 255 = 39%
B 152 of 255 = 60%

95
99
152

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

Portions of RGB colors in percentages

R + G + B =
95 + 99 + 152 = 346 (100%)
R 95 of 346 ~ 27.46%
G 99 of 346 ~ 28.61%
B 152 of 346 ~ 43.93%

%27.46
%28.61
%43.93

CMYK color model

#5F6398 color CMYK value is (38,35,0,40).

  • cyan value is 37.50%
  • magenta value is 34.87%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(38,35,0,40)
C38M35Y0K40 
(38%,35%,0%,40%)
(0.38/0.35/0.00/0.40)	

CMYK percentages

%37.5
%34.87
%0
%40.39

Codes

Color #5F6398 in popluar color models

5F6398
RGB9599152
HSL236°23.08%48.43%
HSB/HSV236°37.50%59.61%
CMYK37.50%34.87%0.00%
40.39%

Color #5F6398 in popluar number systems.

HEX5F6398
Decimal9599152
Binary1011111110001110011000
Octal137143230

Shades and tints

Shades of #5F6398

#5F6398
(95,99,152)
#575A8B
(87,90,139)
#4F517E
(79,81,126)
#474871
(71,72,113)
#3F3F64
(63,63,100)
#373657
(55,54,87)
#2F2D4A
(47,45,74)
#27243D
(39,36,61)
#1F1B30
(31,27,48)
#171223
(23,18,35)
#0F0916
(15,9,22)
#000000
(0,0,0)

Tints of #5F6398

#5F6398
(95,99,152)
#6D71A1
(109,113,161)
#7B7FAA
(123,127,170)
#898DB3
(137,141,179)
#979BBC
(151,155,188)
#A5A9C5
(165,169,197)
#B3B7CE
(179,183,206)
#C1C5D7
(193,197,215)
#CFD3E0
(207,211,224)
#DDE1E9
(221,225,233)
#EBEFF2
(235,239,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F6398 color. Also use rgb(95,99,152) instead hex code.

Text Font Color

.myTextColor { color: #5F6398; }

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

This text font color is #5F6398.


Background Color

.myBgColor { background-color: #5F6398; }

<div style="background-color:#5F6398">Inner text</div>

This div background color is #5F6398.


Border color

.myBorderColor { border: 1px solid #5F6398; }

<div style="border:3px solid #5F6398">Div</div>

This div border color is #5F6398.


Opacity

.myOpacity80 { color: #5F6398; opacity: 0.8; }

<p style="color:#5F6398;opacity:0.8;">80%</p>

Text with #5F6398 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 #5F6398;}

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

This text has shadow with #5F6398 color.

.textShadow {text-shadow: 3px 3px 1px #5F6398, 3px 3px 1px red;}

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

This text has shadow with #5F6398 primary color and red secondary color.


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

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

This text has shadow with #5F6398 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F6398 on black background.


Color preview on white background

This text has color #5F6398 on white background.



Black color preview on #5F6398 background

This text has black color on #5F6398 background.


White color preview on #5F6398 background

This text has white color on #5F6398 background.