-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[discussion] css color keywords recommended or not? #71
Comments
Using color keywords makes making slight tweaks very difficult; being precise with the color values is also more readable imo (with a color keyword, you often have to look up the color code - so why not just start with the color code?) |
On the contrary, I think using color keywords makes code more readable. Say, |
For "red", perhaps, but do you really know exactly what color teal or fuschia is off the top of your head? If you always have to just "know" that "red equals #FF000", then why not put #FF000 in the code directly? |
Good point, will close this issue directly. |
According to W3 docs, we can, at least, use 17 basic css color keywords. Are there any pros or cons using these keywords?
The text was updated successfully, but these errors were encountered: