You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

vasin

Trainee

  • "vasin" started this thread

Posts: 92

Location: bangkok

Occupation: photographer

  • Send private message

1

Tuesday, December 11th 2012, 4:20am

textstyle bright colors can not display

Hello

Can not use bright colors with textstyles

http://krpano.com/examples/textstyles/


Is there a way around this? I'm trying to use pink text color "cc66cc"

below is the code I used. Any input please?


<textstyle name="STYLE1"
font="Arial"
fontsize="12"
bold="true"
italic="false"
background="true"
backgroundcolor="0xFFFFFF"
border="true"
bordercolor="0xc8b9ff"
textcolor="cc66cc"
alpha="1.0"
blendmode="normal"
effect=""
origin="cursor"
edge="bottom"
textalign="none"
xoffset="0"
yoffset="-3"
/>

Tuur

Sage

Posts: 3,208

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

2

Tuesday, December 11th 2012, 5:03pm

0xcc66cc !
Or
#cc66cc
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

vasin

Trainee

  • "vasin" started this thread

Posts: 92

Location: bangkok

Occupation: photographer

  • Send private message

3

Wednesday, December 12th 2012, 5:08am

Thank you Tuur

I tried those codes it did not work. It had to be all numbers.

I used color codes from this http://cloford.com/resources/colours/500col.htm

It worked but with limitations.

If you know a better way please share.

4

Wednesday, December 12th 2012, 12:55pm

Hi,

in krpano colors are set/handled as normal numbers.

And krpano itself is based on Actionscript3 (Flash) or Javascript (HTML5) and in both of these script languages, numbers can be set either normally in decimal form or in hexadecimal form with a '0x' prefix.

E.g. the code value="0xFF" or value="255" would be the same (255 decimal = FF hexadecimal).

That means 0xcc66cc must work!

Best regards,
Klaus

vasin

Trainee

  • "vasin" started this thread

Posts: 92

Location: bangkok

Occupation: photographer

  • Send private message

5

Thursday, December 13th 2012, 5:23am

ok got it

Thank you