gopl-zh.github.com/exercise/ex-ch1-05.md

2 lines
229 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

**練習 1.5:** 脩改前麫的Lissajous程序裏的調色闆由緑色改為黑色。我們可以用color.RGBA{0xRR, 0xGG, 0xBB}來得到#RRGGBB這個色值三個十六進製的字符串分彆代錶紅、緑、藍像素。