COLOR #140C1C

HEX: #140C1C
RGB: (20,12,28)

Color info

#140C1C contains red, green and blue colors in about the same proportion. Web safe color of #140C1C is #000033 (or #003).

RGB color model

#140C1C color RGB value is (20,12,28).

  • red value is 20;
  • green value is 12;
  • blue value is 28.
RGB:
(20,12,28)
(8%,5%,11%)

RGB channels and saturation

R 20 of 255 = 8%
G 12 of 255 = 5%
B 28 of 255 = 11%

20
12
28

R + G + B ~ 8%. #140C1C is dark color.

Portions of RGB colors in percentages

R + G + B =
20 + 12 + 28 = 60 (100%)
R 20 of 60 ~ 33.33%
G 12 of 60 ~ 20%
B 28 of 60 ~ 46.67%

%33.33
%20
%46.67

CMYK color model

#140C1C color CMYK value is (29,57,0,89).

  • cyan value is 28.57%
  • magenta value is 57.14%
  • yellow value is 0.00%
  • key color value is 89.02%
CMYK:
(29,57,0,89)
C29M57Y0K89 
(29%,57%,0%,89%)
(0.29/0.57/0.00/0.89)	

CMYK percentages

%28.57
%57.14
%0
%89.02

Codes

Color #140C1C in popluar color models

140C1C
RGB201228
HSL270°40.00%7.84%
HSB/HSV270°57.14%10.98%
CMYK28.57%57.14%0.00%
89.02%

Color #140C1C in popluar number systems.

HEX140C1C
Decimal201228
Binary10100110011100
Octal241434

Shades and tints

Shades of #140C1C

#140C1C
(20,12,28)
#130B1A
(19,11,26)
#120A18
(18,10,24)
#110916
(17,9,22)
#100814
(16,8,20)
#0F0712
(15,7,18)
#0E0610
(14,6,16)
#0D050E
(13,5,14)
#0C040C
(12,4,12)
#0B030A
(11,3,10)
#0A0208
(10,2,8)
#000000
(0,0,0)

Tints of #140C1C

#140C1C
(20,12,28)
#292230
(41,34,48)
#3E3844
(62,56,68)
#534E58
(83,78,88)
#68646C
(104,100,108)
#7D7A80
(125,122,128)
#929094
(146,144,148)
#A7A6A8
(167,166,168)
#BCBCBC
(188,188,188)
#D1D2D0
(209,210,208)
#E6E8E4
(230,232,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #140C1C color. Also use rgb(20,12,28) instead hex code.

Text Font Color

.myTextColor { color: #140C1C; }

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

This text font color is #140C1C.


Background Color

.myBgColor { background-color: #140C1C; }

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

This div background color is #140C1C.


Border color

.myBorderColor { border: 1px solid #140C1C; }

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

This div border color is #140C1C.


Opacity

.myOpacity80 { color: #140C1C; opacity: 0.8; }

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

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

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

This text has shadow with #140C1C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #140C1C on black background.


Color preview on white background

This text has color #140C1C on white background.



Black color preview on #140C1C background

This text has black color on #140C1C background.


White color preview on #140C1C background

This text has white color on #140C1C background.