PINE LIBRARY

clrs

205
Library "clrs"
Helpers for color manipulations

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

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 color
    bottomColor (color): color
    numColors (int): number of colors in range

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.