kestrell: (Default)
[personal profile] kestrell
You would think that, web developers having assigned numeric values to colors, that these systems would be precise, or even reliable...okay, perhaps somewhat predictable?

Not so!

I'm not asking for weird girl colors: all I wanted was forest green text on a cream background.

I fially got a result of forest green for at least the h1 heading.

Cream has been a lot more adventurous. Using the hex, rgb, or even the color name "cream," I have gotten lemon chiffon, gray, and default white. I even tried settling for cornsilk, but that gave me bisque. And bisque can be another weeny color word that varies from off-white to beige, which are even more variable as colors categories.

So, can I borrow some eyeballs out there? (I promise to let you keep the tooth.)
What colors are on this webpage: https://kestrell7.github.io

Date: 2020-10-01 01:57 pm (UTC)
From: [personal profile] ceraphiic
The header is green, text is black, links are blue, and background is white. Looking at the source code though, if you're using RGB, you have to format it rgb(255, 248, 220).
Edited Date: 2020-10-01 01:59 pm (UTC)

Date: 2020-10-01 02:49 pm (UTC)
From: [personal profile] ceraphiic
You can write RGB colors in any of these formats as they're all valid:
rgb(red green blue)
rgb(red, green, blue)
rgb(red,green,blue)

If you want to adjust the transparency, add an alpha channel:
rgba(red green blue / alpha)
rgba(red, green, blue, alpha)
rgba(red,green,blue,alpha)

Just replace alpha with either a number between 0 and 1, or a percentage:
rgba(255 0 0 / .1) and rgba(255, 0, 0, 10%) are both    .
rgba(255 0 0 / .5) and rgba(255, 0, 0, 50%) are both    .
rgba(255 0 0 / 1) and rgba(255, 0, 0, 100%) are both    .

I know that's a lot more than you asked for, but there really are many different ways to write RGB colors. Just use whichever you feel most comfortable with, is my advice.

Date: 2020-10-01 03:03 pm (UTC)
From: [personal profile] ceraphiic
Glad I could help! :D

February 2024

S M T W T F S
    123
456789 10
11121314151617
18192021222324
2526272829  

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 11th, 2025 10:37 pm
Powered by Dreamwidth Studios