%% Copyright (c) 2025 mangalbhaskar. All Rights Reserved.
%% __author__ = 'mangalbhaskar'
%% ----------------------------------------------------------
%% ktcolor theme
%% ----------------------------------------------------------
\ProvidesPackage{ktcolor}[2025/05/29 v0.0.1 KTBox framework: semantic color palettes]

\RequirePackage[table,dvipsnames]{xcolor}

%% -----------------------------
%% Color Palette (Semantic Mapping)
%% -----------------------------
\definecolor{gray}{gray}{0.4}
\definecolor{lightgray}{gray}{0.85}
\definecolor{darkblue}{HTML}{003366}
\definecolor{chapterbg}{RGB}{240,240,255}
\definecolor{titleaccent}{HTML}{006284}
\definecolor{highlight}{HTML}{FF5722}
\definecolor{notebg}{RGB}{255,250,230}
%%
\definecolor{gray50}{gray}{0.5}
\definecolor{Dblue}{RGB}{1,74,126}
\definecolor{Sblue}{RGB}{2,121,202}
\definecolor{dblue}{HTML}{006284}


%% ---- Light Gray Theme ----
\definecolor{ktgray-bg}{HTML}{F5F5F5} %% #F5F5F5
\definecolor{ktgray-title}{HTML}{444444} %% #444444
\definecolor{ktgray-border}{HTML}{444444} %% #444444
\definecolor{ktgray-border-lite}{HTML}{BBBBBB} %% #BBBBBB
\definecolor{ktgray-titlebox}{HTML}{EDEDED} %% #EDEDED

%% ---- Light Blue Theme ----
\definecolor{ktblue-bg}{HTML}{E6F0FA} %% #E6F0FA
\definecolor{ktblue-title}{HTML}{225C90} %% #225C90
\definecolor{ktblue-border}{HTML}{225C90} %% #225C90
\definecolor{ktblue-border-lite}{HTML}{AFCDE7} %% #AFCDE7
\definecolor{ktblue-titlebox}{HTML}{D6E4F5} %% #D6E4F5

%% ---- Light Green Theme ----
\definecolor{ktgreen-bg}{HTML}{E8F5E9} %% #E8F5E9
\definecolor{ktgreen-title}{HTML}{2E7D32} %% #2E7D32
\definecolor{ktgreen-border}{HTML}{2E7D32} %% #2E7D32
\definecolor{ktgreen-border-lite}{HTML}{A5D6A7} %% #A5D6A7
\definecolor{ktgreen-titlebox}{HTML}{DCEFD9} %% #DCEFD9

%% ---- Light Yellow Theme ----
\definecolor{ktyellow-bg}{HTML}{FFFDE7} %% #FFFDE7
\definecolor{ktyellow-title}{HTML}{FBC02D} %% #FBC02D
\definecolor{ktyellow-border}{HTML}{FBC02D} %% #FBC02D
\definecolor{ktyellow-border-lite}{HTML}{FFF176} %% #FFF176
\definecolor{ktyellow-titlebox}{HTML}{FFF9D1} %% #FFF9D1

%% ---- Light Orange Theme ----
\definecolor{ktorange-bg}{HTML}{FFF3E0} %% #FFF3E0
\definecolor{ktorange-title}{HTML}{EF6C00} %% #EF6C00
\definecolor{ktorange-border}{HTML}{EF6C00} %% #EF6C00
\definecolor{ktorange-border-lite}{HTML}{FFB74D} %% #FFB74D
\definecolor{ktorange-titlebox}{HTML}{FFEBCC} %% #FFEBCC

%% ---- Light Red Theme ----
\definecolor{ktred-bg}{HTML}{FFEBEE} %% #FFEBEE
\definecolor{ktred-title}{HTML}{C62828} %% #C62828
\definecolor{ktred-border}{HTML}{C62828} %% #C62828
\definecolor{ktred-border-lite}{HTML}{EF9A9A} %% #EF9A9A
\definecolor{ktred-titlebox}{HTML}{FDE0E0} %% #FDE0E0

%% ---- Light Cyan Theme ----
\definecolor{ktcyan-bg}{HTML}{E0F7FA} %% #E0F7FA
\definecolor{ktcyan-title}{HTML}{007C91} %% #007C91
\definecolor{ktcyan-border}{HTML}{007C91} %% #007C91
\definecolor{ktcyan-border-lite}{HTML}{B2EBF2} %% #B2EBF2
\definecolor{ktcyan-titlebox}{HTML}{D2F4F7} %% #D2F4F7

%% ---- Light Purple Theme ----
\definecolor{ktpurple-bg}{HTML}{F3E5F5} %% #F3E5F5
\definecolor{ktpurple-title}{HTML}{7B1FA2} %% #7B1FA2
\definecolor{ktpurple-border}{HTML}{7B1FA2} %% #7B1FA2
\definecolor{ktpurple-border-lite}{HTML}{CE93D8} %% #CE93D8
\definecolor{ktpurple-titlebox}{HTML}{E9D2EF} %% #E9D2EF

%% ---- Light Magenta Theme ----
\definecolor{ktmagenta-bg}{HTML}{FCE4EC} %% #FCE4EC
\definecolor{ktmagenta-title}{HTML}{AD1457} %% #AD1457
\definecolor{ktmagenta-border}{HTML}{AD1457} %% #AD1457
\definecolor{ktmagenta-border-lite}{HTML}{F8BBD0} %% #F8BBD0
\definecolor{ktmagenta-titlebox}{HTML}{FCE1ED} %% #FCE1ED

%% ---- Light White Theme ----
\definecolor{ktwhite-bg}{HTML}{FFFFFF} %% #FFFFFF
\definecolor{ktwhite-title}{HTML}{4F4F4F} %% #4F4F4F
\definecolor{ktwhite-border}{HTML}{4F4F4F} %% #4F4F4F
\definecolor{ktwhite-border-lite}{HTML}{D9D9D9} %% #D9D9D9
\definecolor{ktwhite-titlebox}{HTML}{F5F5F5} %% #F5F5F5

%% ---- Muted Dark Blue ----
\definecolor{ktblue-bg-dark}{HTML}{1F2A36} %% #1F2A36
\definecolor{ktblue-title-dark}{HTML}{6888CC} %% #6888CC
\definecolor{ktblue-border-dark}{HTML}{1E3E5C} %% #1E3E5C
\definecolor{ktblue-text-dark}{HTML}{B0C4DE} %% #B0C4DE
\definecolor{ktblue-titlebox-dark}{HTML}{1E2939} %% #1E2939

%% ---- Muted Dark Green ----
\definecolor{ktgreen-bg-dark}{HTML}{201F1B} %% #201F1B
\definecolor{ktgreen-title-dark}{HTML}{84AB86} %% #84AB86
\definecolor{ktgreen-border-dark}{HTML}{3D8C40} %% #3D8C40
\definecolor{ktgreen-text-dark}{HTML}{C8E6C9} %% #C8E6C9
\definecolor{ktgreen-titlebox-dark}{HTML}{263C2B} %% #263C2B

%% ---- Muted Dark Yellow ----
\definecolor{ktyellow-bg-dark}{HTML}{353430} %% #353430
\definecolor{ktyellow-title-dark}{HTML}{CAAD2A} %% #CAAD2A
\definecolor{ktyellow-border-dark}{HTML}{CCBE46} %% #CCBE46
\definecolor{ktyellow-text-dark}{HTML}{FFF59D} %% #FFF59D
\definecolor{ktyellow-titlebox-dark}{HTML}{494420} %% #494420

%% ---- Muted Dark Orange ----
\definecolor{ktorange-bg-dark}{HTML}{4B4A46} %% #4B4A46
\definecolor{ktorange-title-dark}{HTML}{CC923E} %% #CC923E
\definecolor{ktorange-border-dark}{HTML}{CC861E} %% #CC861E
\definecolor{ktorange-text-dark}{HTML}{FFCC80} %% #FFCC80
\definecolor{ktorange-titlebox-dark}{HTML}{4A3224} %% #4A3224

%% ---- Muted Dark Red ----
\definecolor{ktred-bg-dark}{HTML}{62615E} %% #62615E
\definecolor{ktred-title-dark}{HTML}{BF7B7B} %% #BF7B7B
\definecolor{ktred-border-dark}{HTML}{BF4240} %% #BF4240
\definecolor{ktred-text-dark}{HTML}{FFCDD2} %% #FFCDD2
\definecolor{ktred-titlebox-dark}{HTML}{4A2222} %% #4A2222

%% ---- Muted Dark Gray ----
\definecolor{ktgray-bg-dark}{HTML}{717171} %% #717171
\definecolor{ktgray-title-dark}{HTML}{A3A3A3} %% #A3A3A3
\definecolor{ktgray-border-dark}{HTML}{444444} %% #444444
\definecolor{ktgray-text-dark}{HTML}{DDDDDD} %% #DDDDDD
\definecolor{ktgray-titlebox-dark}{HTML}{3D3D3D} %% #3D3D3D

%% ---- Dark Magenta Theme ----
\definecolor{ktmagenta-bg-dark}{HTML}{5A2530} %% #5A2530
\definecolor{ktmagenta-title-dark}{HTML}{F48FB1} %% #F48FB1
\definecolor{ktmagenta-border-dark}{HTML}{AD1457} %% #AD1457
\definecolor{ktmagenta-text-dark}{HTML}{FCE4EC} %% #FCE4EC
\definecolor{ktmagenta-titlebox-dark}{HTML}{78344A} %% #78344A

%% ---- Dark Purple Theme ----
\definecolor{ktpurple-bg-dark}{HTML}{3E2A47} %% #3E2A47
\definecolor{ktpurple-title-dark}{HTML}{CE93D8} %% #CE93D8
\definecolor{ktpurple-border-dark}{HTML}{6A1B9A} %% #6A1B9A
\definecolor{ktpurple-text-dark}{HTML}{F3E5F5} %% #F3E5F5
\definecolor{ktpurple-titlebox-dark}{HTML}{5E3D71} %% #5E3D71

%% ---- Dark Cyan Theme ----
\definecolor{ktcyan-bg-dark}{HTML}{264653} %% #264653
\definecolor{ktcyan-title-dark}{HTML}{81D4FA} %% #81D4FA
\definecolor{ktcyan-border-dark}{HTML}{0277BD} %% #0277BD
\definecolor{ktcyan-text-dark}{HTML}{E0F7FA} %% #E0F7FA
\definecolor{ktcyan-titlebox-dark}{HTML}{2A4D5F} %% #2A4D5F

%% ---- Dark White Theme ----
\definecolor{ktwhite-bg-dark}{HTML}{424242} %% #424242
\definecolor{ktwhite-title-dark}{HTML}{E0E0E0} %% #E0E0E0
\definecolor{ktwhite-border-dark}{HTML}{9E9E9E} %% #9E9E9E
\definecolor{ktwhite-text-dark}{HTML}{FAFAFA} %% #FAFAFA
\definecolor{ktwhite-titlebox-dark}{HTML}{616161} %% #616161
