COLOR #040685

HEX: #040685
RGB: (4,6,133)

Color info

#040685 contains mainly blue color. Web safe color of #040685 is #000099 (or #009).

RGB color model

#040685 color RGB value is (4,6,133).

  • red value is 4;
  • green value is 6;
  • blue value is 133.
RGB:
(4,6,133)
(2%,2%,52%)

RGB channels and saturation

R 4 of 255 = 2%
G 6 of 255 = 2%
B 133 of 255 = 52%

4
6
133

R + G + B ~ 19%. #040685 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 6 + 133 = 143 (100%)
R 4 of 143 ~ 2.8%
G 6 of 143 ~ 4.2%
B 133 of 143 ~ 93.01%

%93.01

CMYK color model

#040685 color CMYK value is (97,95,0,48).

  • cyan value is 96.99%
  • magenta value is 95.49%
  • yellow value is 0.00%
  • key color value is 47.84%
CMYK:
(97,95,0,48)
C97M95Y0K48 
(97%,95%,0%,48%)
(0.97/0.95/0.00/0.48)	

CMYK percentages

%96.99
%95.49
%0
%47.84

Codes

Color #040685 in popluar color models

040685
RGB46133
HSL239°94.16%26.86%
HSB/HSV239°96.99%52.16%
CMYK96.99%95.49%0.00%
47.84%

Color #040685 in popluar number systems.

HEX040685
Decimal46133
Binary10011010000101
Octal46205

Shades and tints

Shades of #040685

#040685
(4,6,133)
#040679
(4,6,121)
#04066D
(4,6,109)
#040661
(4,6,97)
#040655
(4,6,85)
#040649
(4,6,73)
#04063D
(4,6,61)
#040631
(4,6,49)
#040625
(4,6,37)
#040619
(4,6,25)
#04060D
(4,6,13)
#000000
(0,0,0)

Tints of #040685

#040685
(4,6,133)
#1A1C90
(26,28,144)
#30329B
(48,50,155)
#4648A6
(70,72,166)
#5C5EB1
(92,94,177)
#7274BC
(114,116,188)
#888AC7
(136,138,199)
#9EA0D2
(158,160,210)
#B4B6DD
(180,182,221)
#CACCE8
(202,204,232)
#E0E2F3
(224,226,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040685 color. Also use rgb(4,6,133) instead hex code.

Text Font Color

.myTextColor { color: #040685; }

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

This text font color is #040685.


Background Color

.myBgColor { background-color: #040685; }

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

This div background color is #040685.


Border color

.myBorderColor { border: 1px solid #040685; }

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

This div border color is #040685.


Opacity

.myOpacity80 { color: #040685; opacity: 0.8; }

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

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

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

This text has shadow with #040685 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040685 on black background.


Color preview on white background

This text has color #040685 on white background.



Black color preview on #040685 background

This text has black color on #040685 background.


White color preview on #040685 background

This text has white color on #040685 background.