Color: #40300C

#40300C Color Information

#40300C is a dark color. The closest websafe version is #40300C. A complement of this color would be #0C1C40, perceived brightness is 0.19, and the grayscale version is #262626.

In the HSL color space, this color has a hue angle of 42°,a saturation of 68%, and a lightness of 15%.The HSV representation shows a hue of 42°, a saturation of 81%, and a value of 25%.

In a RGB color space, #40300C is composed of 25% red, 19% green and 5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 25% magenta, 81% yellow and 75% black.

In the Yxy color space, this color is represented as Y: 3.28, x: 0.4679, and y: 0.4475.

Color Code #40300C

#40300Crgb(64, 48, 12)
HEX
#40300C
RGB
rgb(64, 48, 12)
HSL
hsl(42, 68%, 15%)
HSV
hsv(42, 81%, 25%)
CMYK
0%, 25%, 81%, 75%
XYZ
X: 3.43, Y: 3.28, Z: 0.62
Lab
L: 21.14, a: 4.30, b: 24.73
Name

Shades of Color #40300C

Shades are created by darkening the original color #40300C in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #40300C

Tints are created by lightening the original color #40300C in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

#40300Crgb(64, 48, 12)

About #40300C Color Code

In the HSL color space, this color has a hue angle of 42°, a saturation of 68%, and a lightness of 15%. The HSV representation shows a hue of 42°, a saturation of 81%, and a value of 25%.

  • HEX: #40300C
  • RGB: rgb(64, 48, 12)
  • HSL: hsl(42, 68%, 15%)
  • HSV: hsv(42, 81%, 25%)
  • CMYK: 0.00% cyan, 25.00% magenta, 81.00% yellow, 75.00% black
  • XYZ: 3.43, 3.28, 0.62
  • Yxy: 3.28, 0.4679, 0.4475
  • Hunter Lab: 21.14, 4.30, 24.73
  • CIE-Lab: 21.14, 4.30, 24.73

In the XYZ color space, this color is represented as X: 3.43, Y: 3.28, Z: 0.62. The Yxy representation further refines this as Y: 3.28, x: 0.4679, and y: 0.4475.

In the Hunter Lab color space, this color is represented as L: 21.14, a: 4.30, and b: 24.73. Similarly, in the CIE-Lab color space, it is represented as L: 21.14, a: 4.30, and b: 24.73.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #40300C

Triadic colors are three colors evenly spaced around the color wheel, including #40300C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #40300C

Analogous colors are adjacent to #40300C on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Monochromatic Colors of #40300C

Monochromatic colors are variations of #40300C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #40300C

The complementary color of #40300C is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #40300C

/* Using HEX */
body {
  background-color: #40300c;
}
/* Using RGB */
body {
  background-color: rgb(64, 48, 12);
}
/* Using RGB with opacity */
body {
  background-color: rgba(64, 48, 12, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(42, 68%, 15%);
}
/* Text color */
p {
  color: #40300c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #40300c;
}
/* Border color */
.box {
  border: 4px solid #40300c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #40300c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #40300c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#40300C
On Black Background
#40300C
On White Background
#40300C

HTML Examples of #40300C

<!-- Using HEX -->
<div style="background-color: #40300c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(64, 48, 12); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(64, 48, 12, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(42, 68%, 15%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #40300c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #40300c; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #40300c; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #40300c;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #40300c; color: #fff; padding: 16px; border-radius: 8px;">
  #40300C
</div>
#40300C
On Black Background
#40300C
On White Background
#40300C

Related Colors of #40300C

These colors are similar to #40300C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.