Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Verint Community 12.x
  • Verint Community
Verint Community 12.x
API Documentation -evo-contrast LESS Function
  • User Documentation
  • Ask the Community
  • API Documentation
  • Manager Training
  • Developer Training
  • Tags
  • More
  • Cancel
  • New
  • API Documentation
  • +In-Process API Documentation
  • +Plugin API Documentation
  • +REST API Documentation
  • -Widget, Theme, and Automation APIs
    • +Automation Events
    • +Client-side APIs
    • +Dynamic Configuration
    • -LESS Functions
      • -evo-contrast LESS Function
      • -evo-darken LESS Function
      • -evo-decrease-contrast LESS Function
      • -evo-increase-contrast LESS Function
      • -evo-lighten LESS Function
      • -evo-themeconfig-bool LESS Function
      • -evo-themeconfig-color LESS Function
      • -evo-themeconfig-date LESS Function
      • -evo-themeconfig-datetime LESS Function
      • -evo-themeconfig-double LESS Function
      • -evo-themeconfig-embeddedurl LESS Function
      • -evo-themeconfig-guid LESS Function
      • -evo-themeconfig-html LESS Function
      • -evo-themeconfig-int LESS Function
      • -evo-themeconfig-string LESS Function
      • -evo-themeconfig-time LESS Function
      • -evo-themeconfig-unit LESS Function
      • -evo-themeconfig-url LESS Function
      • -evo-themefile-dataurl LESS Function
      • -evo-themefile-url LESS Function
      • -evo-themepalette-color LESS Function
      • -evo-themepalette-double LESS Function
      • -evo-themepalette-int LESS Function
      • -evo-themepalette-string LESS Function
      • -evo-themepalette-unit LESS Function
      • -evo-widgetconfig-bool LESS Function
      • -evo-widgetconfig-color LESS Function
      • -evo-widgetconfig-date LESS Function
      • -evo-widgetconfig-datetime LESS Function
      • -evo-widgetconfig-double LESS Function
      • -evo-widgetconfig-embeddedurl LESS Function
      • -evo-widgetconfig-guid LESS Function
      • -evo-widgetconfig-html LESS Function
      • -evo-widgetconfig-int LESS Function
      • -evo-widgetconfig-string LESS Function
      • -evo-widgetconfig-time LESS Function
      • -evo-widgetconfig-unit LESS Function
      • -evo-widgetconfig-url LESS Function
      • -evo-widgetfile-dataurl LESS Function
      • -evo-widgetfile-url LESS Function
      • -evo-widgetpalette-color LESS Function
      • -evo-widgetpalette-double LESS Function
      • -evo-widgetpalette-int LESS Function
      • -evo-widgetpalette-string LESS Function
      • -evo-widgetpalette-unit LESS Function
    • +Script API Types
    • +Script APIs

-evo-contrast LESS Function


Adjusts the contrast of a color relative to another color

LESS

// Required arguments
@result: -evo-contrast(@color, @change);

// All arguments
@result: -evo-contrast(@color, @change, @complement, @threshold);

Parameters

NameTypeDescriptionRequiredDefaultOptions
colorColor to adjustRequired
changeAmount to adjust the color proportionally, either a decimal or percent from -100% to 100%.Required
complementColor adjustment is performed relative to the complement. A decrease (negative) contrast adjustment brings a color closer to the complement, whereas an increase (positive) adjustment adjusts it furhter away. When not provided, either white or black is selected as the complement based on the luminance of the color.Optional
thresholdWhen a complement is not provided, threshold defines the color's luminance at which either white or black is selected as the complement.Optional.5

  • Share
  • History
  • More
  • Cancel
Related
Recommended
  • Telligent
  • Professional Services
  • Submit a Support Ticket
  • Become a Partner
  • Request a Demo
  • Contact Us

About
Privacy Policy
Terms of use
Copyright 2024 Verint, Inc.
Powered by Verint Community