PINE LIBRARY
Updated

Colors

663
Library "Colors"
Helpers for color manipulations

opacify(oldColor, opacity)
  Applies opacity to color
  Parameters:
    oldColor: color
    opacity: opacity
  Returns: color with opacity
Release Notes
v2

Added:
getColorsRange(topColor, bottomColor, numColors)
  Gets two colors as parameters and number of colors you need. Returns range of colors between them
  Parameters:
    topColor: color color
    bottomColor: color
    numColors: number of colors in range

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.