Skip to content
Snippets Groups Projects
Commit d195d4d8 authored by @dion-tsang's avatar @dion-tsang
Browse files

Lesson 06

parent d90d2f7f
Branches
No related tags found
No related merge requests found
Pipeline #504231 passed
......@@ -65,3 +65,16 @@ pygame.quit()
The RGB color model is an additive color model in which the red, green and blue primary colors of light are added together in various ways to reproduce a broad array of colors. The name of the model comes from the initials of the three additive primary colors, red, green, and blue.
RGB 颜色模型是一种加色模型,其中光的红、绿、蓝三原色以各种方式相加,以再现各种颜色。该模型的名称来自三种加色原色(红、绿、蓝)的首字母。
### Define a color using RGB values 🎨🫧
The red, green and blue use 8 bits each, which have integer values from 0 to 255. This makes 256*256*256=16777216 possible colors.
红色、绿色和蓝色各使用 8 位,其值为 0 到 255 之间的整数。这样就形成了 256*256*256=16777216 种可能的颜色。🌈🌈
![alt text](image-5.png)
### Challenge: Rhythm Blocks 🎹🎶😎
Try to move the cubes!
尝试让方块动起来!
![alt text](image-6.png)
docs/assignments/ISAGeekClub/Lesson06/image-5.png

90.9 KiB

docs/assignments/ISAGeekClub/Lesson06/image-6.png

33.1 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment