PINE LIBRARY

Material Design Colors

3 694
This library provides a standard set of colors defined in Material Design 2.0.

🔵 API

Step 1: Import this library.

Pine Script®
import algotraderdev/material/1
// remember to check the latest version of this library and replace the 1 above.


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

Pine Script®
material.red()


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.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.