This forum is now read-only. Please use our new forums at

Animate Your Name Forum

View Course

654 points
Submitted by
over 3 years ago

What are these numbers???

I did the animate your name course and i did undertand everything except these numbers. what are they and can they be changed,?

var red = [0, 100, 63];
var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];

0 votes


You can read all about how to make colours over here

3698 points
Submitted by
over 3 years ago

0 votes


Hey :) Those numbers are what make up the color you are trying to use. For example, try writing this piece of code and when you command drawName to use it along with your name, it will give you a name in yellow:

var yellow = [60, 100, 10]

So after creating that, if you write
drawName(myName, yellow),
your name in the little screen will appear in yellow :)

117 points
Submitted by
almost 3 years ago