function to output color from a HSL (hue, saturation, lightness) palette.
- Simple color palette for Trading View. - It works correctly on timeframes lower than 1h. Move it to the side so you can see the whole palette. - All 17 standard TV colors are there, with fillers at 60 transparency (or 40 % opacity). - You can custom the colors to your own colors, and use it as a palette color reference. Additional information: kodify.net
A simple example showing how to create a gradient in a array.
Adds aesthetic ability to charts by allowing the trader to change the color of the bars, background, and plots using HEX colors, rather than TradingView's limited color selector box. This makes for easy application of color palettes to charts. The color palettes can be saved as indicators and applied quickly, as desired.