Here is an excel table with ACI colors converted to RGB values. (check attached file.)
I got it converted by this code.
Code:
Sub ACItoRGBValues()
MajorVerNumber = Left(ThisDrawing.GetVariable("ACADVER"), 2)
Dim color As AcadAcCmColor
Set color = AcadApplication.GetInterfaceObject("AutoCAD.AcCmColor." & MajorVerNumber)
Open "C:\ACItoRGB.csv" For Output As #1
Print #1, "ACI" & "," & "ColorName" & "," & "R" & "," & "G" & "," & "B"
For i = 0 To 256
color.ColorIndex = i
Print #1, i & "," & color.ColorName & "," & color.Red & "," & color.Green & "," & color.Blue
Next
Close #1
End Sub
...and added the colors in excel by this.
Code:
Sub Macro1()
For i = 2 To 258
With Range("F" & i).Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = RGB(Range("B" & i).Value, Range("C" & i).Value, Range("D" & i).Value)
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Next
End Sub
Edit: I didn't check the link posted above before I post but its basically the same output. cheers!