COLOR #04170C

HEX: #04170C RGB: (4,23,12)

Color info

#04170C contains red, green and blue colors in about the same proportion. Web safe color of #04170C is #000000 (or #000).

RGB color model

#04170C color RGB value is (4,23,12).

RGB: (4,23,12) (2%, 9%, 5%)

RGB channels and saturation

R 4 of 255 = 2%
G 23 of 255 = 9%
B 12 of 255 = 5%

4
23
12

R + G + B ~ 5%. #04170C is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 23 + 12 = 39 (100%)
R 4 of 39 ~ 10.26%
G 23 of 39 ~ 58.97%
B 12 of 39 ~ 30.77'%

%58.97
%30.77

CMYK color model

#04170C color CMYK value is (83,0,48,91).

  • cyan value is 82.61%
  • magenta value is 0.00%
  • yellow value is 47.83%
  • key color value is 90.98%

CMYK: (83,0,48,91)
C83M0Y48K91 (83%, 0%, 48%, 91%)
(0.83 / 0.00 / 0.48 / 0.91)

CMYK percentages

%82.61
%0
%47.83
%90.98

Codes

Color #04170C in popluar color models

04 17 0C
RGB 4 23 12
HSL 145° 70.37% 5.29%
HSB/HSV 145° 82.61% 9.02%
CMYK 82.61% 0.00% 47.83%
90.98%

Color #04170C in popluar number systems.

HEX 04 17 0C
Decimal 4 23 12
Binary 100 10111 1100
Octal 4 27 14

Shades and tints

Shades of #04170C

#04170C
(4,23,12)
#04150B
(4,21,11)
#04130A
(4,19,10)
#041109
(4,17,9)
#040F08
(4,15,8)
#040D07
(4,13,7)
#040B06
(4,11,6)
#040905
(4,9,5)
#040704
(4,7,4)
#040503
(4,5,3)
#040302
(4,3,2)
#000000
(0,0,0)

Tints of #04170C

#04170C
(4,23,12)
#1A2C22
(26,44,34)
#304138
(48,65,56)
#46564E
(70,86,78)
#5C6B64
(92,107,100)
#72807A
(114,128,122)
#889590
(136,149,144)
#9EAAA6
(158,170,166)
#B4BFBC
(180,191,188)
#CAD4D2
(202,212,210)
#E0E9E8
(224,233,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04170C color. Also use rgb(4,23,12) instead hex code.

Text Font Color

.myTextColor { color: #04170C; }

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

This text font color is #04170C.

Background Color

.myBgColor { background-color: #04170C; }

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

This div background color is #04170C.

Border color

.myBorderColor { border: 1px solid #04170C; }

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

This div border color is #04170C.

Opacity

.myOpacity80 { color: #04170C; opacity: 0.8; }

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

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

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

This text has shadow with #04170C color.


.textShadow {text-shadow: 3px 3px 1px #04170C', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #04170C; -webkit-box-shadow: 1px 1px 3px 2px #04170C; box-shadow:1px 1px 3px 2px #04170C;">
Div content here
</div>

This div box has shadow with color #04170C.

Preview

Color preview on black background

This text has color #04170C on black background.


Color preview on white background

This text has color #04170C on white background.


Black color preview on #04170C background

This text has black color on #04170C background.


White color preview on #04170C background

This text has white color on #04170C background.


Related colors

Complementary color

Complementary color for #hex is #FBE8F3.


I love getcolorcode.com

Triadic colors

1 #0C0417 and #170C04 with #04170C are triadic colors.

2 #0C1704 and #17040C with #04170C are triadic colors.