PINE LIBRARY

clrs

266
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. اقرأ المزيد في شروط الاستخدام.