People all know
that the three primary colors are red, green, and blue; however, I learned a
different interpretation of colors on DrRocket. To make a color of an image,
one should “define-struct color”-(red green blue alpha). The function of
“alpha” is to make image smoother.
(define-struct colour (red blue green
alpha))
(define col (make-color 200 200 100 255)
To check out the
color of an image, we should also understand the function of “list”.
(color-list->
image)
No comments:
Post a Comment