home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
How Do I Get The Colours That I Want?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CyberSimian" data-source="post: 1205333" data-attributes="member: 141969"><p>Well, this is very strange. This page in the Wiki: </p><p></p><p><a href="https://www.team-mediaportal.com/wiki/display/MediaPortal1/Colors" target="_blank">https://www.team-mediaportal.com/wiki/display/MediaPortal1/Colors</a></p><p></p><p>shows that numbers prefixed with "#" are valid for the TEXTCOLOR attribute. Are you saying that COLORDIFFUSE is different from TEXTCOLOR in this respect?</p><p></p><p>I have just been experimenting, and I can now get some colours, <strong>but only by using values that do not contain hexadecimal digits</strong> Example: various combinations of "9" work (99999999, 99009999, 99990099, ...).</p><p></p><p>The Wiki page above seems to suggest that numbers not prefixed with "#" are treated as decimal numbers, and not hexadecimal. It gives the following examples:</p><p></p><p>[code]<!-- specify a named color with non-default alpha (using hex, preferred) --></p><p><textcolor>White:#60</textcolor></p><p><!-- not using hex --></p><p><textcolor>White:96</textcolor>[/code]</p><p></p><p></p><p>I have just scanned the skin files for "DefaultWideHD" (MP 1.16 pre), and I see that there are lots of uses of hexadecimal digits. So I tried a value that you use: I specified "#ccffffff" (without the quotes). That gave a light grey background, but the adjacent value "#cbffffff" gave a black background. I also tried the same values without the leading "#"; they gave the same result ("ccffffff" worked, "cbffffff" did not).</p><p></p><p>So, I am still puzzled. What <strong>exactly</strong> does COLORDIFFUSE accept:</p><p></p><p>(1) Only decimal values.</p><p>(2) Only hexadecimal values that do not contain hexadecimal digits.</p><p>(3) Something else.</p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1205333, member: 141969"] Well, this is very strange. This page in the Wiki: [URL]https://www.team-mediaportal.com/wiki/display/MediaPortal1/Colors[/URL] shows that numbers prefixed with "#" are valid for the TEXTCOLOR attribute. Are you saying that COLORDIFFUSE is different from TEXTCOLOR in this respect? I have just been experimenting, and I can now get some colours, [b]but only by using values that do not contain hexadecimal digits[/b] Example: various combinations of "9" work (99999999, 99009999, 99990099, ...). The Wiki page above seems to suggest that numbers not prefixed with "#" are treated as decimal numbers, and not hexadecimal. It gives the following examples: [code]<!-- specify a named color with non-default alpha (using hex, preferred) --> <textcolor>White:#60</textcolor> <!-- not using hex --> <textcolor>White:96</textcolor>[/code] I have just scanned the skin files for "DefaultWideHD" (MP 1.16 pre), and I see that there are lots of uses of hexadecimal digits. So I tried a value that you use: I specified "#ccffffff" (without the quotes). That gave a light grey background, but the adjacent value "#cbffffff" gave a black background. I also tried the same values without the leading "#"; they gave the same result ("ccffffff" worked, "cbffffff" did not). So, I am still puzzled. What [b]exactly[/b] does COLORDIFFUSE accept: (1) Only decimal values. (2) Only hexadecimal values that do not contain hexadecimal digits. (3) Something else. -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
How Do I Get The Colours That I Want?
Contact us
RSS
Top
Bottom