function map = abyss(m)
%

%   Copyright 2023 The MathWorks, Inc.

if nargin < 1
    f = get(groot,'CurrentFigure');
    if isempty(f)
        m = size(get(groot,'DefaultFigureColormap'),1);
    else
        m = size(f.Colormap,1);
    end
end


darkColorOrder = matlab.graphics.internal.colorOrderValues('glow');
baseColor = darkColorOrder(1,:);
v = linspace(0.25,1,m)';
map = baseColor.*v;

end