Dot Class

Implement the missing parts of the Dot Class, as indicated by the TODO Comments.

Color

The color of each dot is represented by three integer values, one each for the red, green, and blue values of the color. These values can be between 0 and 255. The following are some basic colors that can be represented in this way:

Color
R
G
B
Black
0
0
0
Red
255
0
0
Green
0
255
0
Blue
0
0
255
Yellow
255
255
0
Cyan
0
255
255
Magenta
255
0
255
White
255
255
255

You can get more RGB values from tools such as this online Color Picker.