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: 1205313" data-attributes="member: 141969"><p>Recently I have been making a few changes to the skin that I use. I have re-arranged some of the data on the screen, and that works OK. But I cannot get the skin engine to display the colours that I want. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite16" alt=":cry:" title="Crying :cry:" loading="lazy" data-shortname=":cry:" /> The skin ("DefaultWide" in MP 1.12) uses picture backgrounds, which I find make the text more difficult to read. So I want to replace those by plain coloured backgrounds. This is what I have done:</p><p></p><p>(1) I replaced the background image "background.png" with "white.png". I have looked at the latter in "Photoshop", and it is a tri-colour image with all of the colour planes set to "255".</p><p></p><p>(2) I commented out various overlays that seemed to produce non-uniform backgrounds (e.g. darker central band, with lighter bands at the top and bottom of the panel).</p><p></p><p>(3) I tried various values for the COLORDIFFUSE attribute. But virtually all values result in a black background. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" /> These are the values that I tried and the colour of the background that results:</p><p>[code]#00000000 Black</p><p>#40ffffff Black</p><p>#50ffffff Black</p><p>#58ffffff Black</p><p>#5bffffff Black</p><p>#5dffffff Black</p><p>#5fffffff Black</p><p>#60ffffff Darker grey</p><p>#61ffffff Black</p><p>#80ffffff Mid grey</p><p>#a0ffffff Black</p><p>#c0ffffff Black</p><p>#e0ffffff Black</p><p>#ffffffff White[/code]</p><p></p><p>I also tried some other combinations, using #80 for the alpha channel (which produces mid grey when combined with #ffffff):</p><p></p><p>[code]#ff000000 Black</p><p>#80ff0000 Black</p><p>#8000ff00 Black</p><p>#800000ff Black</p><p>#80ff00ff Black</p><p>#8000ffff Black</p><p>#80ffff00 Black[/code]</p><p></p><p>So, how do I get this to work? I want to be able to choose from any of the 2**24 possible colours (256 x 256 x 256). Do I need to use "black.png", or possibly a second image to act as an overlay? The behaviour that I have found so far is completely puzzling. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" /> Thanks for any help.</p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1205313, member: 141969"] Recently I have been making a few changes to the skin that I use. I have re-arranged some of the data on the screen, and that works OK. But I cannot get the skin engine to display the colours that I want. :cry: The skin ("DefaultWide" in MP 1.12) uses picture backgrounds, which I find make the text more difficult to read. So I want to replace those by plain coloured backgrounds. This is what I have done: (1) I replaced the background image "background.png" with "white.png". I have looked at the latter in "Photoshop", and it is a tri-colour image with all of the colour planes set to "255". (2) I commented out various overlays that seemed to produce non-uniform backgrounds (e.g. darker central band, with lighter bands at the top and bottom of the panel). (3) I tried various values for the COLORDIFFUSE attribute. But virtually all values result in a black background. :confused: These are the values that I tried and the colour of the background that results: [code]#00000000 Black #40ffffff Black #50ffffff Black #58ffffff Black #5bffffff Black #5dffffff Black #5fffffff Black #60ffffff Darker grey #61ffffff Black #80ffffff Mid grey #a0ffffff Black #c0ffffff Black #e0ffffff Black #ffffffff White[/code] I also tried some other combinations, using #80 for the alpha channel (which produces mid grey when combined with #ffffff): [code]#ff000000 Black #80ff0000 Black #8000ff00 Black #800000ff Black #80ff00ff Black #8000ffff Black #80ffff00 Black[/code] So, how do I get this to work? I want to be able to choose from any of the 2**24 possible colours (256 x 256 x 256). Do I need to use "black.png", or possibly a second image to act as an overlay? The behaviour that I have found so far is completely puzzling. :confused: Thanks for any help. -- 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