How to change the color of the numbers on the lock screen Xiaomi: all the ways

Why does the color of the digits on the lock screen of Xiaomi not change in standard ways?

Xiaomi's lock screen is the first thing you see when you turn on your smartphone. The timing and date numbers are displayed in the color scheme set by the system theme. However, many users find that even when you change the theme, the color of the numbers remains the same, often white or gray, due to the features of the MIUI shell, where the lock screen settings are partially separated from the overall theme of the system.

In the new versions of MIUI 13 and MIUI 14 (and on Redmi, Poco and Black Shark devices from 2022-2026), the display algorithm has changed: the system prioritizes contrast over design. That is, if the background of the wallpaper is dark, the numbers automatically turn light, and vice versa. But what if you need to force a specific color, for example, red for better visibility or green for harmony with wallpaper?

Method 1: Change through System Themes (official method)

The easiest way is to use built-in MIUI themes, where the color of the numbers on the lock screen is tied to the theme palette.

  1. Open โ€œThemesโ€ (the icon on the desktop or in the application menu).
  2. Go to the section My topics โ†’ Online topics.
  3. In the search bar, enter the lockscreen clock request or lock hours (in Russian).
  4. Choose a theme where the color of the numbers matches your preferences (like Neon Clock or Minimal Dark).
  5. Click "Apply" and confirm the change.

โš ๏ธ Attention: Not all themes support color change of numbers. If nothing has changed since the application of the theme, then its palette does not affect the elements of the lock screen.

๐Ÿ’ก

Before using a theme, check its rating and reviews โ€“ some custom themes may contain ads or incorrectly display time.

Method 2: Manual editing via โ€œlock screen settingsโ€

MIUI 14 has a hidden settings section that allows you to partially customize the time display, which works on most models of the Xiaomi 11/12/13 series, Redmi Note 10-12 and Poco F4/F5:

  1. Go to Settings โ†’ Lock screen.
  2. Slip by the watch style (or time format on some firmware).
  3. Choose Colored or Adaptive (if available).
  4. In some firmware, a color saturation slider will appear here - move it to the right for a brighter display.

If there is no watch style, then your model does not support this option. MIUI before the latest version or use the method of ADB-teams (described below).

Make a backup copy of the data|Check the version. MIUI (Settings โ†’ The phone)|Connect your phone to Wi-Fi|Charge the battery at least 50 times%-->

Method 3: Using ADB to force color change (advanced)

For users who are ready to experiment, there is a method using Android Debug Bridge (ADB), which allows you to manually write the color of the numbers in the system settings. Warning: incorrect commands can disrupt the lock screen!

You'll need:

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB-driver.
  • ๐Ÿ“ฑ Included Debugging by USB on a smartphone (Settings) โ†’ The phone. โ†’ Version. MIUI โ†’ 7 times tap the assembly number โ†’ return to additional settings โ†’ For developers).
  • ๐ŸŽจ Color code in format #RRGGBB (for example, #FF0000 red).

Instructions:

  1. Connect your phone to your PC and open the command line (or Terminal on Mac/Linux).
  2. Enter the command to check the connection: adb devices Wait for the serial number of the device to appear.
  3. Use the command to change color (replace #FF0000 Adb shell settings put secure lock_screen_clock_color #FF0000
  4. Reboot your phone: adb reboot

โš ๏ธ Attention: On some firmware MIUI This command can be reset after the system update, and not all models support this setting โ€” if the color hasn't changed after the reboot, then your device is not compatible.

What to do if ADB is not working?
If you see a โ€œsetting not foundโ€ error after you type in the command, your version of MIUI blocks this setting from changing, and the alternative is to use Magisk modules (e.g., โ€œLockscreen Customizerโ€), but this requires root rights.

Method 4: Applications for lock screen customization

If the system methods didn't work, you can use third-party apps.

AnnexFunctionsNeed root?Reference
Always On EdgeChange of color, font, animation of the clockNo.Google Play
Lock Screen CustomizerFull customization, including date color and notificationsYes (Magisk)XDA Developers
KLWP Live WallpaperCreating custom widgets with any colorNo.Google Play

๐Ÿ”น Always On Edge is suitable for most Xiaomi models without root rights.The app overlays its layer with a customizable watch over the standard lock screen.

๐Ÿ”น KLWP It takes more time to set up, but it allows you to create a unique design with animation.

๐Ÿ“Š How do you prefer to set up the lock screen?
Through systemic themes
With ADB
Third-party annexes
I don't change the standard settings.

Method 5: Change of accent wallpaper (bypass)

If none of these methods worked, you can go the opposite way: you can pick up wallpapers that will force the system to change the color of the numbers. The MIUI algorithm analyzes the prevailing colors of the wallpaper and adjusts the time mapping to them, for example:

  • ๐ŸŒŒ For white digits, use dark wallpaper with a predominance of black or blue.
  • ๐Ÿ”ด For red digits, select a background with burgundy or orange accents.
  • ๐ŸŒฟ For green digits, wallpaper with green vegetation (forests, leaves) will suit).

Where to download the appropriate wallpaper:

  • Built-in Wallpaper app on Xiaomi (Color accents section).
  • WallpapersCraft (color filter)
  • Appendix Zedge (section) MIUI Optimized).

โš ๏ธ Note: This method does not work on all devices. 9A POCO M3) The system ignores the color of the wallpaper and leaves the numbers gray.

Frequent problems and their solutions

Problem 1: The color changed, but dropped after the reboot.

Solution: This means that your firmware resets custom settings. Try:

  • Turn off automatic theme updates in Settings โ†’ Themes โ†’ Theme settings.
  • Use the MIUI Customization Magisk module to capture changes.

Problem 2: The numbers are invisible against the wallpaper.

Solution: Add a blur or gradient to the wallpaper at the bottom of the screen.

  1. Open the wallpaper in the Gallery app.
  2. Click Edit โ†’ Effects โ†’ Blurring.
  3. Apply blur to the bottom of the image (where the clock is located).

Problem 3: There is no color change option on the Poco X3 Pro or Redmi K40.

Solution: These models use a simplified version of MIUI for gaming smartphones.

  • Install the firmware Xiaomi.EU (supports more settings).
  • Use Nova Launcher with a clock widget on the lock screen.

๐Ÿ’ก

On devices with AMOLED-screens (for example, Xiaomi 12 Pro or Poco) F4) The bright colors of numbers can increase battery consumption, and the best option is dark colors (blue, purple).

Can you change the color of the numbers on the lock screen without root rights?
Yes, but the options are limited. You can: Use the system themes with the right palette. ADB-Install applications like Always On Edge. Root rights will only be required for deep customization through Magisk modules.
Why did the MIUI update the color of the numbers drop?
MIUI updates often reset user settings, especially if they were made through ADB or third-party apps. To avoid this: Before updating, back up your settings in Settings โ†’ Additional โ†’ Backup. After updating, repeat the color change procedure.
How do you get back the standard color of numbers if the experiments go wrong?
To reset the settings: For ADB-Changes to the following command: adb shell settings delete secure lock_screen_clock_color For third-party apps, remove them and clear the cache in Settings โ†’ Appendices. Apply the standard theme MIUI in the Topics section.
Does this method work on Xiaomi with Android One (like the Mi A3)?
No. Android One devices (e.g. Mi A1/A2/A3) don't have a MIUI shell, so all of the methods described, except for third-party applications, don't apply. These models are suitable: Always On AMOLED (requires Android 10+) using live wallpaper with built-in clocks.
Can I animate the numbers on the lock screen?
Yes, but only with third-party solutions: KLWP + KWGT (requires manual animation settings); Lock Screen Customizer (with Magisk module supports simple animations); Standard MIUI tools do not support animation.