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

免責事項

この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。