Text Color Code

Asked by MConway1

An observation I noticed:

I was adding a price board and used the 'Text' plugin to create tables and text for my items and price list. After I edited it and would previewed it on the the screen on my wall the entire text would disappear sometimes, then sometimes it would be fine. After deleting and starting over I noticed that when adding text, using the WYSIWYG editor, and changing the color. Sometimes I would have HEX color codes and others RGB.

If it were a HEX (FFFFFF) code, as seen when you clicked on 'View Source' it would make the text on the playback screen disappear altogether. When I changed it to RGB (255, 255, 255) it worked fine.

I have it working but wanted to provide my observation.

Patrick

BELOW IS THE SOURCE THAT WORKED FINE:

<table align="center" cellpadding="1" cellspacing="1" style="width: 500px;">
 <tbody>
  <tr>
   <td>&nbsp;</td>
   <td style="text-align: center;"><span style="color: rgb(255, 255, 0);">STANDARD BED</span></td>
   <td style="text-align: center;"><span style="color: rgb(255, 255, 0);">&nbsp; LONG BED&nbsp; </span></td>
  </tr>
  <tr>
   <td><span style="color: rgb(255, 255, 0);">MATERIAL</span></td>
   <td>&nbsp;</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td style="text-align: right;"><span style="color: rgb(255, 255, 255);">STANDARD</span></td>
   <td style="text-align: center;"><span style="color: rgb(255, 255, 255);">$485</span></td>
   <td style="text-align: center;"><span style="color: rgb(255, 255, 255);">$525</span></td>
  </tr>
  <tr>
   <td style="text-align: right;"><span style="color: rgb(255, 255, 255);">PRO</span></td>
   <td style="text-align: center;"><span style="color: rgb(255, 255, 255);">$675</span></td>
   <td style="text-align: center;"><span style="color: rgb(255, 255, 255);">$725</span></td>
  </tr>
  <tr>
   <td><span style="color: rgb(255, 255, 0);">ADD ONS</span></td>
   <td>&nbsp;</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td style="text-align: right;"><span style="color: rgb(255, 255, 255);">OVER THE RAIL</span></td>
   <td colspan="2" rowspan="1" style="text-align: center;"><span style="color: rgb(255, 255, 255);">$100</span></td>
  </tr>
  <tr>
   <td style="text-align: right;"><span style="color: rgb(255, 255, 255);">PREMIUM</span></td>
   <td colspan="2" rowspan="1" style="text-align: center;"><span style="color: rgb(255, 255, 255);">$150</span></td>
  </tr>
  <tr>
   <td style="text-align: right;"><span style="color: rgb(255, 255, 255);">COLOR</span></td>
   <td colspan="2" rowspan="1" style="text-align: center;"><span style="color: rgb(255, 255, 255);">$300</span></td>
  </tr>
  <tr>
   <td><span style="color: rgb(255, 255, 0);">PROJECTS</span></td>
   <td>&nbsp;</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td style="text-align: right;"><span style="color: rgb(255, 255, 255);">JEEPS / VANS / BRONCOS</span></td>
   <td colspan="2" rowspan="1" style="text-align: center;"><span style="color: rgb(255, 255, 255);"><span style="font-size:10px;">Starting at</span> $640</span></td>
  </tr>
  <tr>
   <td style="text-align: right;"><span style="color: rgb(255, 255, 255);">PER CLICK</span></td>
   <td colspan="2" rowspan="1" style="text-align: center;"><span style="color: rgb(255, 255, 255);">$2.00</span></td>
  </tr>
  <tr>
   <td>&nbsp;</td>
   <td>&nbsp;</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td colspan="3" style="text-align: center;"><span style="color: rgb(255, 255, 0);">ASK US ABOUT COATING YOUR PROJECT!</span></td>
  </tr>
 </tbody>
</table>

BELOW WOULD NOT BE DISPLAYED

On the line with the word 'PRO' in it, if you changed it to the following it would not work. The HEX was inserted using the WYSIWYG Editor:

   <td style="text-align: right;"><span style="color:#FFFFFF;">PRO</span></td>

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
MConway1
Solved:
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

Which version of Xibo are you using please?

I've just added a couple of text items, one with and one without your HEX color code, and then both seem to play find in the Preview window of 1.6.0

Revision history for this message
MConway1 (patrick-sailorslog) said :
#2

I was using the older stable version before 1.6.0, I think it was 1.4.2 Not sure why I was having that issues. Glad to see it's not a problem, it must have been an isolated incident. I am keeping the code as RGB.