How Company Color Code in Hex

Hi I'm trying to get company color but I haven't the same color with Sage, Someone can help me please

Dim Company As String
Company = AccpacSession.CompanyID
Dim System As String
System = AccpacSession.Organizations(AccpacSession.CompanyID).SystemDatabaseID
Dim User As String
User = AccpacSession.UserID
Dim x As AccpacCOMAPI.AccpacSession
Dim ColorCode As String
ColorCode = "" & AccpacSession.GetCompanyColorCode(Company) & ""
Dim Path As String
' MsgBox " " & Company & " " & ColorCode & " " & Hex(AccpacSession.GetCompanyColorCode(Company))
Path = "C:\Sage\Sage300\Macros\Experlan\CobilBalance\CobilBalance.exe" & " " & Company & " " & System & " " & User & " " & ColorCode

Shell Path, vbNormalFocus