COLOR #1B0204

HEX: #1B0204
RGB: (27,2,4)

Color info

#1B0204 contains red, green and blue colors in about the same proportion. Web safe color of #1B0204 is #330000 (or #300).

RGB color model

#1B0204 color RGB value is (27,2,4).

  • red value is 27;
  • green value is 2;
  • blue value is 4.
RGB:
(27,2,4)
(11%,1%,2%)

RGB channels and saturation

R 27 of 255 = 11%
G 2 of 255 = 1%
B 4 of 255 = 2%

27
2
4

R + G + B ~ 5%. #1B0204 is dark color.

Portions of RGB colors in percentages

R + G + B =
27 + 2 + 4 = 33 (100%)
R 27 of 33 ~ 81.82%
G 2 of 33 ~ 6.06%
B 4 of 33 ~ 12.12%

%81.82
%12.12

CMYK color model

#1B0204 color CMYK value is (0,93,85,89).

  • cyan value is 0.00%
  • magenta value is 92.59%
  • yellow value is 85.19%
  • key color value is 89.41%
CMYK:
(0,93,85,89)
C0M93Y85K89 
(0%,93%,85%,89%)
(0.00/0.93/0.85/0.89)	

CMYK percentages

%0
%92.59
%85.19
%89.41

Codes

Color #1B0204 in popluar color models

1B0204
RGB2724
HSL355°86.21%5.69%
HSB/HSV355°92.59%10.59%
CMYK0.00%92.59%85.19%
89.41%

Color #1B0204 in popluar number systems.

HEX1B0204
Decimal2724
Binary1101110100
Octal3324

Shades and tints

Shades of #1B0204

#1B0204
(27,2,4)
#190204
(25,2,4)
#170204
(23,2,4)
#150204
(21,2,4)
#130204
(19,2,4)
#110204
(17,2,4)
#0F0204
(15,2,4)
#0D0204
(13,2,4)
#0B0204
(11,2,4)
#090204
(9,2,4)
#070204
(7,2,4)
#000000
(0,0,0)

Tints of #1B0204

#1B0204
(27,2,4)
#2F191A
(47,25,26)
#433030
(67,48,48)
#574746
(87,71,70)
#6B5E5C
(107,94,92)
#7F7572
(127,117,114)
#938C88
(147,140,136)
#A7A39E
(167,163,158)
#BBBAB4
(187,186,180)
#CFD1CA
(207,209,202)
#E3E8E0
(227,232,224)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1B0204 color. Also use rgb(27,2,4) instead hex code.

Text Font Color

.myTextColor { color: #1B0204; }

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

This text font color is #1B0204.


Background Color

.myBgColor { background-color: #1B0204; }

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

This div background color is #1B0204.


Border color

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

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

This div border color is #1B0204.


Opacity

.myOpacity80 { color: #1B0204; opacity: 0.8; }

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

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

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

This text has shadow with #1B0204 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B0204 on black background.


Color preview on white background

This text has color #1B0204 on white background.



Black color preview on #1B0204 background

This text has black color on #1B0204 background.


White color preview on #1B0204 background

This text has white color on #1B0204 background.