Refactoring: Simplified the ColorBox drawing