COLOR #040660

HEX: #040660
RGB: (4,6,96)

Color info

#040660 contains mainly blue color. Web safe color of #040660 is #000066 (or #006).

RGB color model

#040660 color RGB value is (4,6,96).

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

RGB channels and saturation

R 4 of 255 = 2%
G 6 of 255 = 2%
B 96 of 255 = 38%

4
6
96

R + G + B ~ 14%. #040660 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 6 + 96 = 106 (100%)
R 4 of 106 ~ 3.77%
G 6 of 106 ~ 5.66%
B 96 of 106 ~ 90.57%

%90.57

CMYK color model

#040660 color CMYK value is (96,94,0,62).

  • cyan value is 95.83%
  • magenta value is 93.75%
  • yellow value is 0.00%
  • key color value is 62.35%
CMYK:
(96,94,0,62)
C96M94Y0K62 
(96%,94%,0%,62%)
(0.96/0.94/0.00/0.62)	

CMYK percentages

%95.83
%93.75
%0
%62.35

Codes

Color #040660 in popluar color models

040660
RGB4696
HSL239°92.00%19.61%
HSB/HSV239°95.83%37.65%
CMYK95.83%93.75%0.00%
62.35%

Color #040660 in popluar number systems.

HEX040660
Decimal4696
Binary1001101100000
Octal46140

Shades and tints

Shades of #040660

#040660
(4,6,96)
#040658
(4,6,88)
#040650
(4,6,80)
#040648
(4,6,72)
#040640
(4,6,64)
#040638
(4,6,56)
#040630
(4,6,48)
#040628
(4,6,40)
#040620
(4,6,32)
#040618
(4,6,24)
#040610
(4,6,16)
#000000
(0,0,0)

Tints of #040660

#040660
(4,6,96)
#1A1C6E
(26,28,110)
#30327C
(48,50,124)
#46488A
(70,72,138)
#5C5E98
(92,94,152)
#7274A6
(114,116,166)
#888AB4
(136,138,180)
#9EA0C2
(158,160,194)
#B4B6D0
(180,182,208)
#CACCDE
(202,204,222)
#E0E2EC
(224,226,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040660; }

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

This text font color is #040660.


Background Color

.myBgColor { background-color: #040660; }

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

This div background color is #040660.


Border color

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

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

This div border color is #040660.


Opacity

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

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

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

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

This text has shadow with #040660 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #040660 on black background.


Color preview on white background

This text has color #040660 on white background.



Black color preview on #040660 background

This text has black color on #040660 background.


White color preview on #040660 background

This text has white color on #040660 background.