Rainbow HUD CS2 Command: How to Set Up

Daniel Morris

Share:

Counter-Strike 2 offers players tons of customization options to adjust and fine-tune the game to their own preferences. Very little is off-limits, putting everything down to personal preference. This allows players to get creative, with some creating rainbow HUD CS2 settings to really spice up their gameplay.

Rainbow HUD CS2 Command: How to Set Up

What is the CS2 Rainbow HUD?

The rainbow HUD CS2 commands transform your heads-up display into a multicolored feast for the eyes. Every time make any action in-game, whether it be moving, shooting, or reloading, will cause your HUD to change color.

In practice, you can see what the CS2 rainbow HUD actually looks like in-game in our video below.

Set up Rainbow HUD CS2 command config file

Setting up the rainbow HUD in CS2 uses a lot of console commands. This means that rather than entering every individual command separately, you’ll be better off setting up a config to execute whenever you want to use the CS2 rainbow HUD.

To do this, follow these steps:

  • Go to the following file path: “C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg“.
  • Make a new text document named “rainbow.cfg“.

With the above steps complete and your rainbow HUD CS2 config file created, open it in any text editor and enter the following commands:

alias colorsToggle “colorsOn”
alias colors “colors0”
alias colors0 “cl_hud_color 0; alias colors colors1”
alias colors1 “cl_hud_color 1; alias colors colors2”
alias colors2 “cl_hud_color 2; alias colors colors3”
alias colors3 “cl_hud_color 3; alias colors colors4”
alias colors4 “cl_hud_color 4; alias colors colors5”
alias colors5 “cl_hud_color 5; alias colors colors6”
alias colors6 “cl_hud_color 6; alias colors colors7”
alias colors7 “cl_hud_color 7; alias colors colors8”
alias colors8 “cl_hud_color 8; alias colors colors9”
alias colors9 “cl_hud_color 9; alias colors colors10”
alias colors10 “cl_hud_color 10; alias colors colors11”
alias colors11 “cl_hud_color 11; alias colors colors12”
alias colors12 “cl_hud_color 12; alias colors colors13”
alias colors13 “cl_hud_color 13; alias colors colors0”

alias +colorsForward “+forward; colors;”
alias -colorsForward “-forward; colors;”
alias +colorsBack “+back; colors;”
alias -colorsBack “-back; colors;”
alias +colorsLeft “+left; colors;”
alias -colorsLeft “-left; colors;”
alias +colorsRight “+right; colors;”
alias -colorsRight “-right; colors;”
alias +colorsCrouch “+duck; colors;”
alias -colorsCrouch “-duck; colors;”
alias +colorsFire “+attack; colors;”
alias -colorsFire “-attack; colors;”
alias colorsBind “bind d +colorsRight; bind a +colorsLeft; bind w +colorsForward; bind s +colorsBack; bind ctrl +colorsCrouch; bind mouse1 +colorsFire;”
alias colorsUnbind “bind d +right; bind a +left; bind w +forward; bind s +back; bind ctrl +duck; bind mouse1 +attack;”

alias colorsOn “alias colors colors0; alias colorsToggle colorsOff; colorsBind;”;
alias colorsOff “cl_hud_color 4; alias colorsToggle colorsOn; colorsUnbind;”;

bind k “colorsToggle;”

Save and exit the file, and load up Counter-Strike 2. From here, open up the in-game developer console and type “exec rainbow.cfg“. These commands will turn on your CS2 rainbow HUD for that play session, affecting every action you take. You’ll need to do this every time you want to use this unique HUD – it won’t remain active after you close and re-open the game.

CS2 Rainbow Config

To turn off the rainbow HUD CS2 command, simply hit K in-game. The above config has a keybind that allows you to turn it off at any time, just in case it gets a little too distracting.

Article Tags

No tags found

Tournaments

No tournaments found
Daniel Morris

Daniel Morris

Counter-Strike Content Lead
Daniel is a CS2 esports specialist, and now channels that expertise to discuss the game online. Despite his knowledge of Counter-Strike, he wasn’t quite good enough to go pro himself.
More from Daniel Morris >