For dynamically adjusting a color code corresponding to a task performed
by an input/output (I/O) port, a retasking request for the I/O port is
received. The retasking request may be generated in response to detecting
a plugging in of a multimedia device into the I/O port. The retasking
request includes switching the task from a first task to a second task.
In response to the retasking request the task performed by the I/O port
is automatically reconfigured from the first task to the second task. The
color code is automatically changed from a first color code corresponding
to the first task to a second color code corresponding to the second task
in response to the reconfiguring, without user intervention.