Author Topic: Shape Color: how many ways.  (Read 74 times)

0 Members and 1 Guest are viewing this topic.

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3426
  • Ideas Visio-lized into solutions
Shape Color: how many ways.
« on: March 09, 2019, 02:45:49 AM »
How many ways are there to control a shape's color?  A lot. 
First, there are three traditional ways to define the color:
  1) use the Visio defined index:  a single number, hint:  0, 1, 10
  2) use the RGB function:  RGB(120,255,18)
  3) use the not so popular HSL function:  HSL(0,240,160)

But, there are 7 additional functions:  blend, tone, tint, and shade; plus HueDiff, SatDiff, and LumDiff.
Tone, tint, and shade augment a single color, whereas blend combines two colors.  Each of these four functions has a parameter to modulate its effectiveness.

The three "difference" functions look at two colors each.  There is no modulating parameter.

Finally, there is this post:  http://visguy.com/vgforum/index.php?topic=129.0.  It describes custom formulas.

The attached file breaks out the various features of each function to a separate shape to control the primary color.  This was done merely for convenience and to better demonstrate the impact of the functions.  Just select the shape and change it's color.  The shape which contains the function will respond to this color change.  In the case of blend, shade, tint and tone, the "function" shape has a control point to adjust the parameter.  Select that shape and move the control point.

In all cases, the color of the "function" shape is NOT directly changed.  Do not use the GUI to set it's color. 
« Last Edit: March 09, 2019, 03:05:19 AM by wapperdude »
Visio 2019 Pro

Surrogate

  • Hero Member
  • *****
  • Posts: 887
    • ShapeSheet™ Knowledge Base
Re: Shape Color: how many ways.
« Reply #1 on: March 09, 2019, 05:37:01 AM »
It is important to keep in mind: different delimeters can be used in different locales in formulas !
We have discussion in Russian Visio forum.