Learn how to customize the appearance of ComfyUI using color palettes and advanced CSS options
ComfyUI offers flexible appearance customization options that allow you to personalize the interface to your preferences.
The primary way to customize ComfyUI’s appearance is through the built-in color palette system.
This allows you to:
For appearance needs that cannot be satisfied by the color palette, you can perform advanced appearance customization through the user.css file
The color palette allows you to modify many specific properties. Here are some of the most commonly customized elements, with colors represented in hexadecimal format:
For cases where the color palette doesn’t provide enough control, you can use custom CSS via a user.css file. This method is recommended for advanced users who need to customize elements that aren’t available in the color palette system.
user.css
in your ComfyUI user directory (same location as your workflows and settings - see location details below)The ComfyUI user directory is where your personal settings, workflows, and customizations are stored. The location depends on your installation type:
The user directory is located in your ComfyUI installation folder:
For example, if you cloned ComfyUI to C:\ComfyUI
, your user directory would be C:\ComfyUI\user\default
(or C:\ComfyUI\user\john
if you’ve set up a custom username).
ComfyUI supports multiple users per installation. If you haven’t configured a custom username, it defaults to “default”. Each user gets their own subdirectory within the user
folder.
The user directory is located in your ComfyUI portable folder:
For example: ComfyUI_windows_portable/ComfyUI/user/default
ComfyUI supports multiple users per installation. If you haven’t configured a custom username, it defaults to “default”. Each user gets their own subdirectory within the user
folder.
This location contains your workflows, settings, and other user-specific files.
After finding the above folder location, please copy the corresponding CSS file to the corresponding user directory, such as the default user folder being ComfyUI/user/default
, then restart ComfyUI or refresh the page to apply changes.
The user.css
file is loaded early in the application startup process. So you may need to use !important
in your CSS rules to ensure they override the default styles.
user.css Customization Examples
Best Practices
Troubleshooting
!important
to user.css rules that aren’t being applied