data = randn(1,1000);
h = histogram(data);
h.FaceColor = [0.7,0.8,1];
set histogram colors by using bar
t=-3:0.2:3;
N=histc(randn(1,1000),t);
h=bar(t,N,'histc');
set(h,'FaceColor',[0.7,0.8,1])
see also
→ bar plot with different colors
→ horizontal histogram
→ https://mathworks.com/help/matlab/ref/colorspec.html