Skip to content

Overriding colors

You can override the Face SDK colors in your app. Make sure to add colors with the same name.

Name Description
facesdk_overlay_background_dark

Face overlay background color. This color is applied when you switch to the back camera.

💡 Cannot be changed for liveness

facesdk_overlay_background_white

Face overlay background color. This color is applied when you switch to the front camera.

💡 Cannot be changed for liveness

facesdk_overlay_border_default Face overlay border color. This color is applied when the Face SDK does not find any face in the area.
facesdk_overlay_border_active Face overlay border color. This color is applied when the Face SDK does not find any faces in the area.
facesdk_notification_view_stroke_dark Border color of notification text view when the screen light is on.
facesdk_notification_view_solid_dark Background color of notification text view when the screen light is on.
facesdk_notification_view_stroke_white Border color of notification text view when the screen light is off.
facesdk_notification_view_solid_white Background color of notification text view when the screen light is off.
facesdk_notification_view_text_color_light_on Text color for notification view when the screen light is on. (when the flashlight on the front camera is turned on)
facesdk_notification_view_text_color_light_off Text color for notification view when the screen light is off. (when the flashlight on the front camera is turned off)
facesdk_buttons_background Background for layout with buttons at the bottom of the screen (close, flashlight, swap camera).
facesdk_processing_background Background color for liveness processing layout
Back to top