Color: #7F8ECC

#7F8ECC Color Information

#7F8ECC is a light color. The closest websafe version is #7F8ECC. A complement of this color would be #CCBD7F, perceived brightness is 0.57, and the grayscale version is #A6A6A6.

In the HSL color space, this color has a hue angle of 228°,a saturation of 43%, and a lightness of 65%.The HSV representation shows a hue of 228°, a saturation of 38%, and a value of 80%.

In a RGB color space, #7F8ECC is composed of 50% red, 56% green and 80% blue. Whereas in a CMYK color space, it is composed of 38% cyan, 30% magenta, 0% yellow and 20% black.

In the Yxy color space, this color is represented as Y: 27.77, x: 0.2772, and y: 0.2719.

Color Code #7F8ECC

#7F8ECCrgb(127, 142, 204)
HEX
#7F8ECC
RGB
rgb(127, 142, 204)
HSL
hsl(228, 43%, 65%)
HSV
hsv(228, 38%, 80%)
CMYK
38%, 30%, 0%, 20%
XYZ
X: 28.31, Y: 27.77, Z: 46.05
Lab
L: 59.68, a: 6.10, b: -34.16
Name

Shades of Color #7F8ECC

Shades are created by darkening the original color #7F8ECC 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 #7F8ECC

Tints are created by lightening the original color #7F8ECC 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.

#7F8ECCrgb(127, 142, 204)

About #7F8ECC Color Code

In the HSL color space, this color has a hue angle of 228°, a saturation of 43%, and a lightness of 65%. The HSV representation shows a hue of 228°, a saturation of 38%, and a value of 80%.

  • HEX: #7F8ECC
  • RGB: rgb(127, 142, 204)
  • HSL: hsl(228, 43%, 65%)
  • HSV: hsv(228, 38%, 80%)
  • CMYK: 38.00% cyan, 30.00% magenta, 0.00% yellow, 20.00% black
  • XYZ: 28.31, 27.77, 46.05
  • Yxy: 27.77, 0.2772, 0.2719
  • Hunter Lab: 59.68, 6.10, -34.16
  • CIE-Lab: 59.68, 6.10, -34.16

In the XYZ color space, this color is represented as X: 28.31, Y: 27.77, Z: 46.05. The Yxy representation further refines this as Y: 27.77, x: 0.2772, and y: 0.2719.

In the Hunter Lab color space, this color is represented as L: 59.68, a: 6.10, and b: -34.16. Similarly, in the CIE-Lab color space, it is represented as L: 59.68, a: 6.10, and b: -34.16.

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 #7F8ECC

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

Analogous Colors of #7F8ECC

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

Monochromatic Colors of #7F8ECC

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

Complementary Color of #7F8ECC

The complementary color of #7F8ECC 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 #7F8ECC

/* Using HEX */
body {
  background-color: #7f8ecc;
}
/* Using RGB */
body {
  background-color: rgb(127, 142, 204);
}
/* Using RGB with opacity */
body {
  background-color: rgba(127, 142, 204, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(228, 43%, 65%);
}
/* Text color */
p {
  color: #7f8ecc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #7f8ecc;
}
/* Border color */
.box {
  border: 4px solid #7f8ecc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #7f8ecc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #7f8ecc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#7F8ECC
On Black Background
#7F8ECC
On White Background
#7F8ECC

HTML Examples of #7F8ECC

<!-- Using HEX -->
<div style="background-color: #7f8ecc; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(127, 142, 204); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(127, 142, 204, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(228, 43%, 65%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #7f8ecc;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #7f8ecc; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #7f8ecc; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #7f8ecc;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #7f8ecc; color: #fff; padding: 16px; border-radius: 8px;">
  #7F8ECC
</div>
#7F8ECC
On Black Background
#7F8ECC
On White Background
#7F8ECC

Related Colors of #7F8ECC

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