Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core/dmx/colour.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ class Colour:

def __init__(self, red: int, green: int, blue: int):
"""Initialise the colour."""
self._red = red
self._green = green
self._blue = blue
self.red = red
self.green = green
self.blue = blue

def serialise(self) -> List[int]:
"""Serialise the colour in RGB order to a sequence of bytes."""
Expand Down