Use the color box constant to supply a constant color value to the block diagram.

Use the color picker to set the color in the color box constant. You can resize a color box constant.
You cannot change the value of the color box constant while the VI runs. You can assign a label to this constant.