gopl-zh.github.com/exercise/ex-ch1-05.md
2015-12-09 15:57:17 +08:00

2 lines
229 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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