Here's some basic code.
You will be asked if you want to delete the worksheets and you'll need to
acknowledge it. If you don't want to do that, put Application.DisplayAlerts
=FALSE and =TRUE around the delete line. Also, if you try to delete the
last sheet, it won't let you. You need to have at least one visible sheet in
the workbook. This should get you started.
Dim WS As Excel.Worksheet
For Each WS In ThisWorkbook.Worksheets
Debug.Print WS.Tab.ColorIndex
If WS.Tab.ColorIndex <> xlColorIndexNone Then
WS.Delete
End If
Next WS