PINE LIBRARY

Material Design Colors

By AlphaViz
This library provides a standard set of colors defined in Material Design 2.0.

🔵 API

Step 1: Import this library.



Step 2: Get the color you like. Check the source code or the screenshot above to see all the supported colors.



Each color function (except for `black()` and `white()`) accepts an optional `variant` parameter. You can choose any of 50, 100, 200, 300, 400, 500, 600, 700, 800, and 900. By default, 500 is chosen if this parameter is not provided.
colorcolorscolorschemedesigndisplaymaterialmaterialdesignpalettetheme
AlphaViz
专业缠论指标: alphaviz.pro/chanlun
Email: contact@alphaviz.pro
Discord: discord.gg/w2fFtNega4

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer