Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- +------------------------------------------------------------------------+ +-------------+
- | Name | Identifier | RGB | HEX | Decimal | | Best Option |
- |------------------------------------------------------------------------| |-------------|
- | "BLACK" | [0] | [0,0,0] | 0x000000 | 0 | | 0 |
- | "SILVER" | [1] | [192,192,192] | 0xc0c0c0 | 12632256 | | [1] |
- | "GRAY"/"GREY" | [2] | [128,128,128] | 0x808080 | 8421504 | | [2] |
- | "WHITE" | [3] | [255,255,255] | 0xffffff | 16777215 | | [3] |
- | "MAROON" | [4] | [128,0,0] | 0x800000 | 8388608 | | [4] |
- | "RED" | [5] | [255,0,0] | 0xff0000 | 16711680 | | [5] |
- | "PURPLE" | [6] | [128,0,128] | 0x800080 | 8388736 | | [6] |
- | "FUCHSIA"/"MAGENTA" | [7] | [255,0,255] | 0xff00ff | 16711935 | | [7] |
- | "GREEN" | [8] | [0,128,0] | 0x008000 | 32768 | | [8] |
- | "LIME" | [9] | [0,255,0] | 0x00ff00 | 65280 | | [9] |
- | "OLIVE" | [10] | [128,128,0] | 0x808000 | 8421376 | | [10] |
- | "YELLOW" | [11] | [255,255,0] | 0xffff00 | 16776960 | | [11] |
- | "NAVY" | [12] | [0,0,128] | 0x000080 | 128 | | 128 |
- | "BLUE" | [13] | [0,0,255] | 0x0000ff | 255 | | 255 |
- | "TEAL" | [14] | [0,128,128] | 0x008080 | 32896 | | [14] |
- | "AQUA" | [15] | [0,255,255] | 0x00ffff | 65535 | | [15] |
- | "PINK" | [16] | [255,192,203] | 0xffc0cb | 16761035 | | [16] |
- | "TOMATO" | [17] | [255,99,71] | 0xff6347 | 16737095 | | [17] |
- | "ORANGE" | [18] | [255,165,0] | 0xffa500 | 16753920 | | [18] |
- | "GOLD" | [19] | [255,215,0] | 0xffd700 | 16766720 | | [19] |
- | "VIOLET" | [20] | [148,0,211] | 0x9400d3 | 9699539 | | [20] |
- | "SKYBLUE" | [21] | [135,206,235] | 0x87ceeb | 8900331 | | [21] |
- | "CHOCOLATE" | [22] | [210,105,30] | 0xd2691e | 13789470 | | [22] |
- | "BROWN" | [23] | [165,42,42] | 0xa52a2a | 10824234 | | [23] |
- | "INVISIBLE" | [24] | N/A | N/A | N/A | | [24] |
- +------------------------------------------------------------------------+ +-------------+
- +-----------------------------------------------+
- | Full Command | Short Command | Bytes Saved |
- |-----------------------------------------------|
- | forward 10 | fd 10 | 5 |
- | back 10 | bk 10 | 2 |
- | left 90 | lt 90 | 2 |
- | right 90 | rt 90 | 3 |
- | penup | pu | 3 |
- | pendown | pd | 5 |
- | position 0 | pos 0 | 5 |
- | heading 0 | seth 0 | 3 |
- | hideturtle | ht | 8 |
- | showturtle | st | 8 |
- | clearscreen | cs | 9 |
- | pensize 10 | ps 10 | 5 |
- | pencolor 0 | pc 0 | 6 |
- | fillcolor 0 | fc 0 | 7 |
- | picture [ ... ] | pic [ ... ] | 4 |
- +-----------------------------------------------+
- x = int random 10 ; 17 bytes
- x = int(ps any) ; 15 bytes
- x = random 10 ; 13 bytes
- x = (ps any) ; 12 bytes
- pensize random 10 ; 17 bytes
- ps random 10 ; 12 bytes
- ps any ; 6 bytes
Add Comment
Please, Sign In to add comment