Jump to content


Photo

How to add a color in a skin?

skin color

  • Please log in to reply
1 reply to this topic

#1 Gerard76

  • Senior Member
  • 288 posts

+1
Neutral

Posted 8 February 2014 - 10:03

http://openpli.org/f...on/#entry403854

hello.

with help from the TS of the topic above i have adjusted his skin for my own use.

Now i also want to add a new extra color to this skin.

I tried all the available colors in the skin.xml but i couldn't find what i was looking for.

-<colors>

<color name="background" value="#00000000"/>

<color name="black" value="#00000000"/>

<color name="blue" value="#00879ce1"/>

<color name="bluetransparent" value="#08001e4b"/>

<color name="dark" value="#00242424"/>

<color name="darkgrey" value="#00555556"/>

<color name="foreground" value="#00f0f0f0"/>

<color name="green" value="#0056c856"/>

<color name="greentransparent" value="#08004c00"/>

<color name="grey" value="#00aaaaaa"/>

<color name="infobarBG" value="#41080808"/>

<color name="listbox" value="#000f56a4"/>

<color name="noTransBG" value="#00101214"/>

<color name="orange" value="#00ffc000"/>

<color name="rds_text_bg" value="#00003258"/>

<color name="red" value="#00ff4a3c"/>

<color name="redtransparent" value="#084c0000"/>

<color name="rssviewtop" value="#00005050"/>

<color name="secondBG" value="#18101214"/>

<color name="secondFG" value="#00fcc000"/>

<color name="selectedBG" value="#06303240"/>

<color name="selectedFG" value="#00fcc000"/>

<color name="transparent" value="#ff000000"/>

<color name="transpBlack" value="#54111112"/>

<color name="transpWhite" value="#70f0f0f0"/>

<color name="un33333a" value="#0033333a"/>

<color name="un40a0aa0" value="#040a0aa0"/>

<color name="un4a00a0a" value="#04a00a0a"/>

<color name="uncccccc" value="#00cccccc"/>

<color name="white" value="#00f0f0f0"/>

<color name="yellow" value="#00ffc000"/>

<color name="yellowtransparent" value="#084b4b00"/>

</colors>


I look for a soft lightblue color.

 

how can i add a new color?


ET 7500

Re: How to add a color in a skin? #2 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 8 February 2014 - 10:21

Colors are defined in RGBA: http://en.wikipedia....GBA_color_space

 

So determine the RGBA hex value of the desired colour (try http://www.css3maker...ss-3-rgba.html, and convert the numbers to hex), and add a new color definition for it, giving it a unique name. You can then use that name in the skin.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.




Also tagged with one or more of these keywords: skin, color

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users