<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def scene_add(sequence_number, scene_id, animation_id, name, color, velocity, config):
 """Create a scene.add message"""

        (red, green, blue) = (int(color[0]*255), int(color[1]*255), int(color[2]*255))
        return MessageWriter().string("scene.add").uint64(sequence_number).uint32(scene_id).uint32(animation_id).string(name) \
                              .uint8_3(red, green, blue).uint32(int(velocity * 1000)).string(config).get()