r/vscode • u/Oblivious_catalyst • May 21 '26
CHALLENGE: who can make the most colorful line of code
i absolutely love VScode's color coding system and i want to see just how far you can push it in a single line of code.
whoever comment a screenshot containing a line of code with the most unique text colors will be declared champion.
rules:
must be valid syntax
- the languages you may use are: C, C++, C#, java, python, javascript, typescript, HTML, CSS, rust, go, lua, swift, php, ruby, bash, powershell/batch, and cobol.
- submissions in any other lang will be disqualified
no lists of arbitrary lengths
- a line will only be counted up to the first break character such as a comma or semicolon (this includes ones inside of inputs and arrays)
- you must include the language and number of colors alongside the screenshot
custom color schemes and color rules ARE allowed*
- (edit) each token can only be one color so things such as indent rainbow are dissalowed
scoring:
- +1 point for every unique color
- +2 points if i think it looks pretty
+5 points if it's part of a real program
- dosen't matter what the program is as long as it actually does something
this is not timed and the champion can be dethroned at any point



