This is a language written entirely in colour
Let me explain:
The colors will represent a character in Octal
The langauge written in Octal could be reffered to as ColorOct
For ColorOct
using ROYGBIV
Lets consider a simple program in python
print("Hello World")
After ASCII conversion The following code when converted to Decimal, will look something like this :
112 114 105 110 116 40 34 72 101 108 108 111 32 87 111 114 108 100 34 41
In Octal
, it will look something like this :
160 162 151 156 164 050 042 110 145 154 154 157 040 127 157 162 154 144 042 051
This Code, now in ColorOct
(text-only) will look like:
Red Indigo White Red Indigo Orange Red Blue Red Red Blue Indigo Red Indigo Green White Blue White White Green Orange Red Red White Red Green Blue Red Blue Green Red Blue Green Red Blue Violet White Green White Red Orange Violet Red Blue Violet Red Indigo Orange Red Blue Green Red Green Green White Green Orange White Blue Red
This Code, now in ColorOct
will look like:
Using more colours, to represent the language in hexadecimal
The colors will represent a character in Hexadecimal
The langauge written in Hexadecimal could be reffered to as ColorHex
For ColorHex
WIP
Lets consider a same program in python
print("Hello World")
After ASCII conversion The following code when converted to Decimal, will look something like this :
112 114 105 110 116 40 34 72 101 108 108 111 32 87 111 114 108 100 34 41
In HexaDecimal
, it will look something like
70 72 69 6E 74 28 22 48 65 6C 6C 6F 20 57 6F 72 6C 64 22 29
This Code, now in ColorHex
will look like:
- This is a fun project , to make a language written entirely in color
- The language might be further extended by writing a whole new language purely in colours(with its own syntax, like BrainF*ck or BeFungue) , rather than relying on ascii conversions
- Another fun project could be
Greys
where the same concept is converted into different shades of grays, starting from White all the way to Black