This library provides a standard set of colors defined in Material Design 2.0. 🔵 API Step 1: Import this library. 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. material.red() ...
This lightweight library provides a utility method that analyzes any provided background color and automatically chooses the optimal black or white foreground color to ensure maximum visual contrast and readability. 🟠 Algorithm The library utilizes the HSP Color Model to calculate the brightness of the background color. The formula for this calculation is as...
Library "lib_colors" offset_mono(original, offset, transparency) get offset color Parameters: original (simple color) : original color offset (float) : offset for new color transparency (float) : transparency for new color Returns: offset color
Library "tools" A library of many helper methods, plus a comprehensive print method and a printer object. This is a newer version of the helpers library. This script uses pinescripts v5 latest objects and methods.
Utility for working with colors. Get the luminosity of a color and determine the optimal (black or white) foreground color.
Library "hsvColor" HSV and HSL Gradient Tool Alternatives and helpers. Demo'd is built-in in the middle with HSL/HSV gradients on top/bottom TODO: Solve for #000000 issue rgbhsv(_col) RGB Color to HSV Values Parameters: _col : Color input (#abc012 or color.name or color.rgb(0,0,0,0)) Returns: values rgbhsv(_r, _g, _b, _t) RGB Color to HSV...
Library "Color Library!" To help with large projects that need colors! If you guys make the library bigger, share it so we can all have tons of colors! 2 Functions Uppercase and Lowercase, because why not? import library as color 1.) color.this("Brown") // or color.this("brown") both work 2.) color.rainbow(1) //Returns first index of Rainbow this(x) TODO:...
█ OVERVIEW This library is complementary for XABCD Harmonic Pattern Custom Range Interactive TupleSwitchHL() : Tuple Switch for High Low Parameters: : : _bool, low_X, high_X, low_A, high_A, low_B, high_B, low_C, high_C Returns: : price_X, price_A, price_B, price_C TupleSwitchStyleColor() : Tuple switch for style and color Parameters: :...
Library "ColorArray" Simple color array gradient tool. makeGradient(size, _col1, _col2, _col3, _col4, _col5) Color Gradient Array from 5 colors. Parameters: size : : default 10 _col1 : : default #ff0000 _col2 : : default #ffff00 _col3 : : default #00ff00 _col4 : : default #00ffff _col5 : : default #0000ff Returns: array of...