652aad4bly1g4gjxj3pr8j20u0140npe.jpg

Hi.

Welcome to my blog. This is Shinainai . I am a programmer . I live in California.I love art! I love STEM! Hope you have a nice stay!

HTML5 Canvas Tutorial2 - Colors

HTML5 Canvas Tutorial2 - Colors

Colors are important. When we are drawing,we need to find the right colors.

Let’s learn how to set the color in HTML.

Table of common HTML color names

All modern browsers support the 140 color names. I choose 32 common color names in the table. It’s like color palette.

color names.png

Let me give you the HTML code so that you know how to set the color.

table of color names.png
HTML5 Canvas Tutorial3 - Coordinates

HTML5 Canvas Tutorial3 - Coordinates

HTML5 Canvas Tutorial1 - How to create a basic canvas

HTML5 Canvas Tutorial1 - How to create a basic canvas