Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - spg

Pages: [1]
1
Yay, it worked!

e.g. blue FF0000 (HEX) -> 16711680 (DEC) as color code results in the correct color!


Thanks a lot!

2
Hello everybody!

In a project using stereotyped UML elements. In the mdg technologies file we pass around to provide the stereotypes needed, one entry looks like this:

<Stereotype name="myStereotype" metatype="myType" notes="" cx="160" cy="70" bgcolor="-1" fontcolor="-1"
[...]

My question:
What is the format used to change the default background color of an element?
I tried different formats for bgcolor:
- using HEX color codes (e.g.: #E47833 ) does not work, same without the #
- decimal values from 1 to 255 result in variations of red
- leading zeros are not accepted: 000255 is still red
- 10255 results in dark green, 11255 results in red  [smiley=huh.gif]
- etc., a lot of pain trying the codes

Doe anyone know the format scheme for this entry and would like to share his wisdom?  :)
Thanks a lot!


Cheers!

Pages: [1]