What are all the color options?
I tried googling but some colors work some done, for this website where can I learn all the available colors. Like I saw someone else use "cornsilk" I never would have guessed that's a color!. Where do you learn all these colors?
There are 3 ways to make colors.
You will have to use a colorpicker for this,
Use a colorpicker.
color: rgba(255, 0, 0, 0.5);
Use a colorpicker
color: hsl(0, 100%, 50%);
The first thing you need is a color wheel to understand the actual concept of colors and color harmonies.
There are various color pickers that can help you understand the color theory practically.
There is a very nice article about colors and color harmonies along with a color picker that I found online Here is the link you can read more about it. https://programmersportal.com/html-color-picker/
wdym by color options? if you mean how to colors text:
you can use ansi escape codes to color text in the console; here are some colors you can use in Python:
You can also have colors in python:
# the ANSI codes are stored in variables, making them easier to use black = "\033[0;30m" red = "\033[0;31m" green = "\033[0;32m" yellow = "\033[0;33m" blue = "\033[0;34m" magenta = "\033[0;35m" cyan = "\033[0;36m" white = "\033[0;37m" bright_black = "\033[0;90m" bright_red = "\033[0;91m" bright_green = "\033[0;92m" bright_yellow = "\033[0;93m" bright_blue = "\033[0;94m" bright_magenta = "\033[0;95m" bright_cyan = "\033[0;96m" bright_white = "\033[0;97m" # to use them: print(red+"Hello") # you can also have multiple colors: print(red+"Hel"+bright_blue+"lo") # you can also use bold and underline reset = "\u001b[0m" underline = "\033[4m" italic = "\033[3m" # to use it: print(italic+"Hello "+reset+" there "+underline+"Mister!") # the reset is for taking away all changes you've made to the text # it makes the text back to the default color and text decorations.
if you mean what are all the colors in the world, then we have about 10 million:
First of all, scientists have determined that in the lab we can see about 1,000 levels of dark-light and about 100 levels each of red-green and yellow-blue. So that's about 10 million colors right there.
(from here: https://www.azcentral.com/story/opinion/op-ed/claythompson/2015/12/14/how-many-colors-are-there/77311176/#:~:text=First%20of%20all%2C%20scientists%20have,10%20million%20colors%20right%20there.)
but you can also use a hex color picker to get many many many colors:
to find the available colors to use in CSS, you can just put the hex number or put the name: https://www.w3schools.com/colors/colors_picker.asp
And if you need some good colors that go well with each other: https://coolors.co/