PINE LIBRARY
Cập nhật ToClrToStr

Contains functions for conversion of color to string and vice versa:
Thanks to ImmortalFreedom for his `color_tostring()` function from "RGB Color Fiddler"
- method toClr( string this ) - converts string reperesentation of color (in hex format) to color
- method toHex( color this ) - converts color to string (hex form)
- method toRgb( color this ) - converts color to string ("rgb(11,11,11,0)" form)
Thanks to ImmortalFreedom for his `color_tostring()` function from "RGB Color Fiddler"

Phát hành các Ghi chú
v2 Removed a log.info()Phát hành các Ghi chú
v3 Fixed a bug in toClr() (did not work correctly with 6 digit colors). Thư viện Pine
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 publications is governed by House Rules.
Thông báo miễn trừ trách nhiệm
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Thư viện Pine
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 publications is governed by House Rules.
Thông báo miễn trừ trách nhiệm
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.