Skip navigation

JSI Tip 0573 - How can I change the color that explorer uses to display compressed objects?

Set AltColor, a type REG_BINARY value name to the RGB (Red, Green, Blue) equivalent of the prefered color. Example:

white would be ffffff00. You would set this value at:


You can also set it at:


If you want to set it for each user, you can run regedit /s compclr.reg in a login script. Compclr.reg would contain:



where rr is the Red component, gg is the Green component, and bb is the Blue component.

You will have to logoff/logon for the change to take affect.

Here is a table of common colors:

 Color   Red   Green   Blue 
 white   ff   ff   ff 
 red   ff   00   00 
 yellow   ff   ff   00 
 green   00   ff   00 
 cyan   00   ff   ff 
 blue   00   00   ff 
 magenta   ff   00   ff 
 brown   a5   2a   2a 
 black   00   00   00 
 JSI burgundy   99   00   00 

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.