<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									More than 3 computed colors? [Help Needeed] - Simhub General				            </title>
            <link>https://www.simhubdash.com/community-2/simhub-support/more-than-3-computed-colors-help-needeed/</link>
            <description>All about SimHub!</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 13 Apr 2026 14:35:12 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>More than 3 computed colors? </title>
                        <link>https://www.simhubdash.com/community-2/simhub-support/more-than-3-computed-colors-help-needeed/#post-7951</link>
                        <pubDate>Fri, 17 Nov 2023 18:00:58 +0000</pubDate>
                        <description><![CDATA[Hello Everybody,
 
I am trying to put colors on my speed text indicator, i&#039;ve succeed with the property   and then setting up the computed colors.
 
My problem is there are onl...]]></description>
                        <content:encoded><![CDATA[<p>Hello Everybody,</p>
<p> </p>
<p>I am trying to put colors on my speed text indicator, i've succeed with the property  <span style="color: #add8e6;font-weight: bold" data-darkreader-inline-color=""></span> and then setting up the computed colors.</p>
<p> </p>
<p>My problem is there are only 3 colors than we can choose, one on the start, one on the middle and one in the end, i'd like to put 5 or 6 others colors to do something like this :</p>
<p>- From 0 to 60 kmh = text in blue</p>
<p>- From 70 to 130 kmh = text in green</p>
<p>- From 140 to 170 kmh = text in yellow</p>
<p>- From 180 to 200 kmh = text in orange</p>
<p>- From 210 to 250 = Text in red</p>
<p>- From 250 to 350 = Text in pink</p>
<p>And idealy make them change gradually and not hard thresholds, same than with the computed colors.</p>
<p> </p>
<p>It is possible with some script to put more than 3 colors?</p>
<p> </p>
<p>I make this script but its very basic and unfortunetly i can't put more than three colors, and its not changing gradually :</p>
<p><span style="color: #add8e6;font-weight: bold" data-darkreader-inline-color="">if</span><span style="color: #00ffff;font-weight: bold" data-darkreader-inline-color="">(</span><span style="color: #add8e6;font-weight: bold" data-darkreader-inline-color=""></span><span style="color: #00ffff;font-weight: bold" data-darkreader-inline-color="">&lt;</span><span style="color: #add8e6" data-darkreader-inline-color="">100</span>,<span style="color: #a0522d" data-darkreader-inline-color="">'Blue'</span>,<br /><span style="color: #add8e6;font-weight: bold" data-darkreader-inline-color="">if</span><span style="color: #00ffff;font-weight: bold" data-darkreader-inline-color="">(</span><span style="color: #add8e6;font-weight: bold" data-darkreader-inline-color=""></span><span style="color: #00ffff;font-weight: bold" data-darkreader-inline-color="">&gt;</span><span style="color: #add8e6" data-darkreader-inline-color="">150</span>,<span style="color: #a0522d" data-darkreader-inline-color="">'Red'</span>,<span style="color: #a0522d" data-darkreader-inline-color="">'Green'</span><span style="color: #00ffff;font-weight: bold" data-darkreader-inline-color="">))</span></p>
<p> </p>
<p>I am looking for something like this in the video, going grom blue to red :</p>
<p>https://m.youtube.com/watch?v=Is3kazW_0ok&amp;pp=ygUNU2ltaHViIHNwZWVkIA%3D%3D</p>
<p> </p>
<p>Hope you can help me on this one, thanks in advance,</p>
<p> </p>
<p>François</p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.simhubdash.com/community-2/simhub-support/">Simhub General</category>                        <dc:creator>verseaux</dc:creator>
                        <guid isPermaLink="true">https://www.simhubdash.com/community-2/simhub-support/more-than-3-computed-colors-help-needeed/#post-7951</guid>
                    </item>
							        </channel>
        </rss>
		