Property reference

com.snc.on_call_rotation.contrast

Selects how contrasting text colors are chosen for On-Call calendar backgrounds. When no preset contrast color is available, ContrastYIQ is the default; other supported methods can change whether the text is white or black.

Default
ContrastYIQ
Type
Not stated
Application
Not stated

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? Chooses the calculation method used to set white or black text for On-Call calendar backgrounds when no preset contrast color is available.
What area does it affect? On-Call calendar colors
What does the default mean? The default value is "ContrastYIQ".
When should you review it? Review when calendar text contrast or readability needs adjustment.

Property record

No out of the box record exists. ServiceNow scripts read this property and use the default value shown until you create it.

Property name com.snc.on_call_rotation.contrast
Type Not stated
Application Not stated
Default value ContrastYIQ
Description Not stated

Sources

Official references and nearby text excerpts where this property appears.

Context preview Snippet 1
... trademarks of the respective companies with which they are associated. 3034 Property Description Location: System Property [sys_properties] ta com.snc.on_call_rotation.pto.approval.required Configuration to determine whether PTO requ Location: System Property [sys_properties] ta com.snc.on_call_rotation.contrast Sets text color to either white or black depend background color on the calendar. The follow • ContrastYIQ • ContrastPercent • ContrastLuminance Note: ContrastYIQ is used if the propert Location: ...

Used in

Out of the box artefacts that read this property. Append the path to your instance URL to open the record and see how the value is used.

More in com.snc

Other properties in the same namespace.

All 650 properties in com.snc →