Custom Color scale for Tree map

Hello! I wanted to create a custom color scale given some corporate colors. I have a continuous scale and would like to use other colors to create the graph.

This is my code so far:

mes=cal[cal$month==month(max(inf$Fecha)),2]
ano=year(max(inf$Fecha))

#Corporate Colors
marca=c('#00176B','#7DDD8B')

          
fig <- plot_ly(
        type="treemap",
        ids=junio_ipc$id,
        labels= junio_ipc$Categoría,
        parents=junio_ipc$parent,
        values=junio_ipc$w,
        textinfo="label+percent parent+percent entry",
        branchvalues='total',
        marker=list(
                colors=junio_ipc$yoy,
                colorscale=marca,
                cmid=mean(junio_ipc$yoy),
                cmin=min(junio_ipc$yoy),
                cmax=max(junio_ipc$yoy),
                showscale=TRUE,
                colorbar=list(title='<b>Inflación</b>',
                              tickformat='.1%')
        ),
        text=percent(junio_ipc$yoy,.01),
        hovertemplate = '%{label} \nInflación: <b>%{text}</b> <extra></extra>',
        
        
)

fig %>% layout(title= paste0('Inflación a ',mes,' ',ano),
               margin=list(l=10,
                           r=10,
                           t=50,
                           b=10))

I would like to know how to incorporate the corporate colors into my graph. Thank you.