TradingView
miivanov
31 gen 2023 11:11

Colors 

PJSC Positive GroupMOEX

Descrizione

Library "Colors"
Helpers for color manipulations

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

Note di rilascio

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
Altro