PINE LIBRARY
Güncellendi Colors

Library "Colors"
This Library delivers Hex Codes of Colors frequently used in indicators and strategies.
v3(colorName) Collection: Pinescript v3 Colors.
Parameters:
colorName: Color Name.
Returns: Hex code of the inquired color.
v4(colorName) Collection: Pinescript v4 Colors.
Parameters:
colorName: Color Name.
Returns: Hex code of the inquired color.
This Library delivers Hex Codes of Colors frequently used in indicators and strategies.
v3(colorName) Collection: Pinescript v3 Colors.
Parameters:
colorName: Color Name.
Returns: Hex code of the inquired color.
v4(colorName) Collection: Pinescript v4 Colors.
Parameters:
colorName: Color Name.
Returns: Hex code of the inquired color.
Sürüm Notları
v2Added:
checkLuminance(srcColor, threshold)
To interpret the level of darkness of the provided color, and tag it as dark or light.
Parameters:
srcColor (color): Color to check. Usually a background color. By default 'chart.bg_color'.
threshold (simple int)
Returns: Boolean isDark
Updated:
v3(colorName)
Collection: Pinescript v3 Colors
Parameters:
colorName (simple string): Color Name
Returns: Hex code of the inquired color
v4(colorName)
Collection: Pinescript v4 Colors
Parameters:
colorName (simple string): Color Name
Returns: Hex code of the inquired color
Sürüm Notları
v3Updated:
checkLuminance(srcColor, threshold)
To interpret the level of darkness of the provided color, and tag it as dark or light.
Parameters:
srcColor (simple color): Color to check. Usually a background color. By default 'chart.bg_color'.
threshold (simple int)
Returns: Boolean isDark
Sürüm Notları
v4Added:
checkLuminanceSimple(srcColor, threshold)
To interpret the level of darkness of the provided color, and tag it as dark or light.
Parameters:
srcColor (simple color): Color to check. Usually a background color. By default 'chart.bg_color'.
threshold (simple int)
Returns: Boolean isDark
checkLuminanceSeries(srcColor, threshold)
To interpret the level of darkness of the provided color, and tag it as dark or light.
Parameters:
srcColor (color): Color to check. Usually a background color. By default 'chart.bg_color'.
threshold (simple int)
Returns: Boolean isDark
Removed:
checkLuminance(srcColor, threshold)
To interpret the level of darkness of the provided color, and tag it as dark or light.
Sürüm Notları
v5Added:
checkLuminance(srcColor, threshold)
To interpret the level of darkness of the provided color, and tag it as dark or light.
Parameters:
srcColor (color): Color to check. Usually a background color. By default 'chart.bg_color'.
threshold (simple int)
Returns: Boolean isDark
Removed:
checkLuminanceSimple(srcColor, threshold)
To interpret the level of darkness of the provided color, and tag it as dark or light.
checkLuminanceSeries(srcColor, threshold)
To interpret the level of darkness of the provided color, and tag it as dark or light.
Pine kitaplığı
Gerçek TradingView ruhuyla, yazar bu Pine kodunu açık kaynaklı bir kütüphane olarak yayınladı, böylece topluluğumuzdaki diğer Pine programcıları onu yeniden kullanabilir. Yazara saygı! Bu kütüphaneyi özel olarak veya diğer açık kaynaklı yayınlarda kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Site Kuralları tarafından yönetilmektedir.
I develop indicators meant to be useful, profitable and good looking.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Pine kitaplığı
Gerçek TradingView ruhuyla, yazar bu Pine kodunu açık kaynaklı bir kütüphane olarak yayınladı, böylece topluluğumuzdaki diğer Pine programcıları onu yeniden kullanabilir. Yazara saygı! Bu kütüphaneyi özel olarak veya diğer açık kaynaklı yayınlarda kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Site Kuralları tarafından yönetilmektedir.
I develop indicators meant to be useful, profitable and good looking.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.