Color Library // AlgoFyre

Color Overview
The AlgoFyreColorLibrary includes a comprehensive set of colors inspired by fire, ranging from light reds and oranges to dark browns and deep reds. The library is divided into two main themes:
Light Theme:
Includes lighter shades of red, orange, and brown, suitable for use on light backgrounds.
Dark Theme:
Includes darker shades of red, orange, and brown, suitable for use on dark backgrounds.
How to Use
To use the AlgoFyreColorLibrary in your Pine Script indicators and strategies, follow these steps:
Import the Library:
Import the AlgoFyreColorLibrary at the beginning of your script.
Call the getColor Function:
Use the getColor function to retrieve the desired color with the specified transparency.
Example
The library AF-L-0001 is imported with the alias af.
The getColor function is used to get colors with specified transparency.
The colors are then used to plot lines on the chart.
- Changed how colors are requested and what is returned. Now returns a const color object.
- Added RGB versions which can be retreived with colorname_rgb
- Some minor fixes
- Testing RGB return in numbers
- Some minor bugfixes and testing
- Changed the function export to yield simple data types instead of series
- Added more signal colors
- Signal colors now have a light, normal and dark variant
- Added copy/paste enum, which can be used as an options enum for color selections in the main script. Just call the getColorByName() function with the name from the enum to get the correct color.
- Some minor cosmetic fixes
- Added transparency parameter again
- Some minor cosmetic changes
- Changed export function parameters back to series type
- Added a ENUM to String converter function
- Modified colors
- Renamed variables and made them const
Biblioteca Pine
Siguiendo fielmente el espíritu de TradingView, el autor ha publicado este código Pine como una biblioteca de código, permitiendo que otros programadores de Pine en nuestra comunidad puedan volver a utilizarlo. ¡Un brindis por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero tenga en cuenta que la reutilización de este código en publicaciones se rige por las Normas internas.
🔶 Check out algofyre.com/linktree
🔶 Looking for custom indicators, strategies, or automation? Hire us at AlgoFyre.com
🔶 All content provided by AlgoFyre is for informational and educational purposes only.
Exención de responsabilidad
Biblioteca Pine
Siguiendo fielmente el espíritu de TradingView, el autor ha publicado este código Pine como una biblioteca de código, permitiendo que otros programadores de Pine en nuestra comunidad puedan volver a utilizarlo. ¡Un brindis por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero tenga en cuenta que la reutilización de este código en publicaciones se rige por las Normas internas.
🔶 Check out algofyre.com/linktree
🔶 Looking for custom indicators, strategies, or automation? Hire us at AlgoFyre.com
🔶 All content provided by AlgoFyre is for informational and educational purposes only.