The colour coding for pushbutton control devices used on machines can be defined according to standard IEC 60204-1 'Safety of Machinery', section 10 paragraph 10.2.1, table 2 and table 3.
In the case that IEC 60204-1 is applicable, please see below an extract from the standard. Always refer to the standard for full information and to check for any amendments that may have taken place since this information was published. The information below is from IEC 60204-1 September 2021 version.
Actuators (see 3.1.1) shall be colour-coded as follows.
The colours for START/ON actuators should be WHITE, GREY, BLACK or GREEN with a preference for WHITE. RED shall not be used.
The colour RED shall be used for emergency stop and emergency switching off actuators (including supply disconnecting devices where it is foreseen that they are for use in an emergency). If a background exists immediately around the actuator, then this background shall be coloured YELLOW. The combination of a RED actuator with a YELLOW background shall only be used for emergency operation devices.
The colours for STOP/OFF actuators should be BLACK, GREY, or WHITE with a preference for BLACK. GREEN shall not be used. RED is permitted, but it is recommended that RED is not used near an emergency operation device.
WHITE, GREY, or BLACK are the preferred colours for actuators that alternately act as START/ON and STOP/OFF actuators. The colours RED, YELLOW, or GREEN shall not be used.
WHITE, GREY, or BLACK are the preferred colours for actuators that cause operation while they are actuated and cease the operation when they are released (for example hold-to-run). The colours RED, YELLOW, or GREEN shall not be used.
Reset actuators shall be BLUE, WHITE, GREY, or BLACK. Where they also act as a STOP/OFF actuator, the colours WHITE, GREY, or BLACK are preferred with the main preference being for BLACK. GREEN shall not be used.
The colour YELLOW is reserved for use in abnormal conditions, for example, in the event of an abnormal condition of the process, or to interrupt an automatic cycle.
Where the same colour WHITE, GREY, or BLACK is used for various functions (for example WHITE for START/ON and for STOP/OFF actuators) a supplementary means of coding (for example shape, position, symbol) shall be used for the identification of actuators.