Hello,
the colors are RGB values and there are plenty of RGB calculators on the net (e.g The RGB Color Calculator / Web Page Color Choosing Tool / HTML Color Code Generator)
Another way may be to define a macro, which sets the background color of a cell. The following sample file shows 256 cells in column A
having a background according to RGB values from the range [0-255]
:
Colors-0-255.ods.
The file has been created using the following macro (also part of the sample file):
Sub SetCellColors()
Dim oDoc As Object
Dim oSheet As Object
Dim oCell As Object
Dim iCol As Long
oDoc = ThisComponent
oSheet = oDoc.getCurrentController.getActiveSheet
iCol = 0
while iCol < 256
oCell = oSheet.getCellByPosition(0, iCol + 1)
oCell.CellBackColor = iCol
oCell.Value = iCol
iCol = iCol +1
wend
End Sub