https://github.com/mozancetin/minecraftblockcolorcodes.txt
This repo has RGB Color Codes for Minecraft Blocks. (not all)
https://github.com/mozancetin/minecraftblockcolorcodes.txt
minecraft minecraft-rgb-color-codes rgb
Last synced: 3 months ago
JSON representation
This repo has RGB Color Codes for Minecraft Blocks. (not all)
- Host: GitHub
- URL: https://github.com/mozancetin/minecraftblockcolorcodes.txt
- Owner: mozancetin
- License: mit
- Created: 2022-02-26T12:37:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-28T08:24:44.000Z (almost 3 years ago)
- Last Synced: 2025-01-03T19:47:24.589Z (5 months ago)
- Topics: minecraft, minecraft-rgb-color-codes, rgb
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MinecraftBlockColorCodes.txt
This repo has RGB Color Codes for Minecraft Blocks. (not all)Color codes are calculated by averaging the color of a 50x50 area. The formula for averaging is:
```python
# r = list of red values of a 50x50 area values = (0, 255)
# g = list of green values of a 50x50 area values = (0, 255)
# b = list of blue values of a 50x50 area values = (0, 255)avg = (int(sum(r) / len(r)), int(sum(g) / len(g)), int(sum(b) / len(b)))
```