Color Themes - mriscoc/Ender3S1-Standard GitHub Wiki
How to apply a color theme
You can change the color of many UI elements going to the "Select color" sub menu in "Advanced Settings" or loading a g-code file with special color commands, after change a color you must to save settings to the EEPROM to make it permanent. If you want to apply a color theme, download the g-code file and "print" it, if you like the colors, make them permanent, saving the settings in the Control menu.
It is possible also, embed this special color codes inside of a normal g-code file to, for example, to use the background color of the screen as an indicator of the status of the print.
Structure of the C11 g-code:
C11 En Rn Gn Bn
En: n refers to an UI element.
Rn Gn Bn: Is the color on RGB (red, green, blue) format, for the DWIN display,
the red and blue color can go from 0 to 31, and the green color from 0 to 63.
Theme files
You can change the UI element's color by "printing" a theme file, but you must first save that file on your µSD card using a PC, you couldn't use Octoprint for print o upload a theme file.
Default Theme
;Default theme file
;
C11 E2 R1 G2 B1 ;Screen Background
C11 E3 R29 G49 B15 ;Cursor
C11 E4 R2 G9 B5 ;Title Background
C11 E5 R31 G63 B31 ;Title Text
C11 E6 R31 G63 B31 ;Text
C11 E7 R6 G29 B27 ;Selected
C11 E8 R7 G19 B10 ;Split Line
C11 E9 R31 G63 B31 ;Highlight
C11 E10 R0 G20 B20 ;Status Background
C11 E11 R31 G56 B15 ;Status Text
C11 E12 R6 G15 B8 ;Popup Background
C11 E13 R26 G53 B26 ;Popup Text
C11 E14 R30 G0 B15 ;Alert Background
C11 E15 R31 G56 B15 ;Alert Text
C11 E16 R31 G49 B9 ;Percent Text
C11 E17 R2 G7 B4 ;Bar Fill
C11 E18 R31 G63 B31 ;Indicator value
C11 E19 R31 G63 B31 ;Coordinate value
;
M500 ;Save to EEPROM
M997 ;Reboot
Red Theme
;Red Theme file
;
C11 E2 R15 G0 B0 ;Screen Background
C11 E3 R31 G50 B23 ;Cursor
C11 E4 R31 G0 B0 ;Title Background
C11 E5 R31 G63 B31 ;Title Text
C11 E6 R31 G50 B23 ;Text
C11 E7 R31 G50 B23 ;Selected
C11 E8 R31 G49 B9 ;Split Line
C11 E9 R31 G50 B23 ;Highlight
C11 E10 R31 G0 B0 ;Status Background
C11 E11 R31 G49 B9 ;Status Text
C11 E12 R6 G15 B8 ;Popup Background
C11 E13 R26 G53 B26 ;Popup Text
C11 E14 R30 G0 B15 ;Alert Background
C11 E15 R31 G56 B15 ;Alert Text
C11 E16 R31 G49 B9 ;Percent Text
C11 E17 R8 G7 B4 ;Bar Fill
C11 E18 R31 G50 B23 ;Indicator value
C11 E19 R31 G50 B23 ;Coordinate value;
;
C11 E0 ;Preview changes
Green Theme
;Green Theme file
;
C11 E2 R0 G20 B0 ;Screen Background
C11 E3 R0 G63 B0 ;Cursor
C11 E4 R0 G31 B0 ;Title Background
C11 E5 R31 G63 B31 ;Title Text
C11 E6 R18 G63 B10 ;Text
C11 E7 R0 G10 B0 ;Selected
C11 E8 R31 G49 B9 ;Split Line
C11 E9 R0 G63 B0 ;Highlight
C11 E10 R0 G31 B0 ;Status Background
C11 E11 R31 G63 B31 ;Status Text
C11 E12 R6 G15 B8 ;Popup Background
C11 E13 R26 G53 B26 ;Popup Text
C11 E14 R30 G0 B15 ;Alert Background
C11 E15 R31 G56 B15 ;Alert Text
C11 E16 R31 G49 B9 ;Percent Text
C11 E17 R0 G10 B0 ;Bar Fill
C11 E18 R18 G63 B10 ;Indicator value
C11 E19 R18 G63 B10 ;Coordinate value;
;
C11 E0 ;Preview changes
Blue Theme
;Blue theme file
;
C11 E2 R2 G4 B6 ;Screen Background
C11 E3 R0 G31 B31 ;Cursor
C11 E4 R0 G20 B20 ;Title Background
C11 E5 R31 G63 B31 ;Title Text
C11 E6 R18 G63 B31 ;Text
C11 E7 R6 G20 B20 ;Selected
C11 E8 R0 G12 B16 ;Split Line
C11 E9 R10 G40 B31 ;Highlight
C11 E10 R0 G20 B20 ;Status Background
C11 E11 R31 G56 B15 ;Status Text
C11 E12 R6 G15 B8 ;Popup Background
C11 E13 R26 G53 B26 ;Popup Text
C11 E14 R30 G0 B15 ;Alert Background
C11 E15 R31 G56 B15 ;Alert Text
C11 E16 R31 G63 B31 ;Percent Text
C11 E17 R0 G12 B16 ;Bar Fill
C11 E18 R18 G63 B31 ;Indicator value
C11 E19 R18 G63 B31 ;Coordinate value
;
C11 E0 ;Preview changes
Gray Theme
;Gray theme file
;
C11 E2 R4 G8 B4 ;Screen Background
C11 E3 R20 G40 B20 ;Cursor
C11 E4 R10 G20 B10 ;Title Background
C11 E5 R31 G63 B31 ;Title Text
C11 E6 R31 G63 B31 ;Text
C11 E7 R10 G20 B10 ;Selected
C11 E8 R20 G40 B20 ;Split Line
C11 E9 R31 G63 B31 ;Highlight
C11 E10 R10 G20 B10 ;Status Background
C11 E11 R31 G63 B31 ;Status Text
C11 E12 R6 G15 B8 ;Popup Background
C11 E13 R26 G53 B26 ;Popup Text
C11 E14 R30 G0 B15 ;Alert Background
C11 E15 R31 G56 B15 ;Alert Text
C11 E16 R31 G63 B31 ;Percent Text
C11 E17 R10 G20 B10 ;Bar Fill
C11 E18 R26 G52 B26 ;Indicator value
C11 E19 R26 G52 B26 ;Coordinate value;
;
C11 E0 ;Preview changes