OBE:BS4 REFERENCE


Sortable and filterable tables of color space codes and Bootstrap 4 classes that are used throughout your library.

Color Codes

T A B L E

Use the input to search and the column headers to sort!


Name JS Key/Prop Hex RGB RGBa HSL HSV

Accessing OBE:BS4 Colors

J A V A S C R I P T

If you need to access any OBE:BS4 color values in JavaScript, you can use these handy JSON strings to bring those values into your application. You can either choose a single color space type or bring them all! NOTE: To use RGBa values in JavaScript, be sure to copy our utility function that will allow you to change the alpha value for any color value, to whatever alpha value you need. The defalut alpha value for each RGBa color value string defaluts to a string of '0.5', so you can replace that exact string with your custom alpha value.


(RGBa Only)
                                        
                                            // EXAMPLE: Parse the JSON string
                                            const myColors = JSON.parse('PASTE_RGBa_JSON_INSIDE_THESE_QUOTES');
                                            
                                            // EXAMPLE: Utility function to customize the alpha value of an rgba string 
                                            // NOTE: The Default alpha value for all RGBa strings is: '0.5'
                                            const setRGBa = function (rgbaString, alphaValue) {
                                                return alphaValue ? rgbaString.replace('0.5', alphaValue) : rgbaString;
                                            }

                                            // EXAMPLES IN ACTION:
                                            let darkGray = setRGBa( myColors.darkGray.rgba, '0.75' );
                                            let blue = myColors.blue.rgba; // Uses the default alpha value
                                            let azure = setRGBa( myColors.azure.rgba ); // Calling without an alpha value returns default
                                            let azure300 = setRGBa( myColors.azure300.rgba, 0.9  ); // Passed alpha value can be a number
                                        
                                    
(Hex Only)
                                        
                                            // EXAMPLE: Parse the JSON string
                                            const myColors = JSON.parse('PASTE_HEX_JSON_INSIDE_THESE_QUOTES');
                                            
                                            // EXAMPLES IN ACTION:
                                            let darkGray = myColors.darkGray.hex;
                                            let blue = myColors.blue.hex;
                                            let azure300 = myColors.azure300.hex;
                                        
                                    
(RGB Only)
                                        
                                            // EXAMPLE: Parse the JSON string
                                            const myColors = JSON.parse('PASTE_RGB_JSON_INSIDE_THESE_QUOTES');
                                            
                                            // EXAMPLES IN ACTION:
                                            let darkGray = myColors.darkGray.rgb;
                                            let blue = myColors.blue.rgb;
                                            let azure300 = myColors.azure300.rgb;
                                        
                                    
(HSL Only)
                                        
                                            // EXAMPLE: Parse the JSON string
                                            const myColors = JSON.parse('PASTE_HSL_JSON_INSIDE_THESE_QUOTES');
                                            
                                            // EXAMPLES IN ACTION:
                                            let darkGray = myColors.darkGray.hsl;
                                            let blue = myColors.blue.hsl;
                                            let azure300 = myColors.azure300.hsl;
                                        
                                    
(HSV Only)
                                        
                                            // EXAMPLE: Parse the JSON string
                                            const myColors = JSON.parse('PASTE_HSV_JSON_INSIDE_THESE_QUOTES');
                                            
                                            // EXAMPLES IN ACTION:
                                            let darkGray = myColors.darkGray.hsv;
                                            let blue = myColors.blue.hsv;
                                            let azure300 = myColors.azure300.hsv;
                                        
                                    
(Hex, RGB, RGBa, HSL, HSV)
                                        
                                            // EXAMPLE: Parse the JSON string
                                            const myColors = JSON.parse('PASTE_JSON_INSIDE_THESE_QUOTES');
                                            
                                            // EXAMPLE: Utility function to customize the alpha value of an rgba string 
                                            // NOTE: The Default alpha value for all RGBa strings is: '0.5'
                                            const setRGBa = function (rgbaString, alphaValue) {
                                                return alphaValue ? rgbaString.replace('0.5', alphaValue) : rgbaString;
                                            }

                                            // EXAMPLES IN ACTION:
                                            let rgba_darkGray = setRGBa( myColors.darkGray.rgba, '0.75' );
                                            let hex_blue = myColors.blue.hex;
                                            let rgb_orange300 = myColors.orange300.rgb;
                                            let hsl_red = myColors.red.hsl;
                                            let hsv_chartreuse = myColors.chartreuse.hsv;
                                        
                                    

Margin & Padding

C L A S S E S

These are the Bootstrap 4 element margin, padding, and negative margin utility classes.


Extra Small Small Medium Large Extra Large
.m-n1 .m-sm-n1 .m-md-n1 .m-lg-n1 .m-xl-n1
.mx-n1 .mx-sm-n1 .mx-md-n1 .mx-lg-n1 .mx-xl-n1
.my-n1 .my-sm-n1 .my-md-n1 .my-lg-n1 .my-xl-n1
.mt-n1 .mt-sm-n1 .mt-md-n1 .mt-lg-n1 .mt-xl-n1
.mr-n1 .mr-sm-n1 .mr-md-n1 .mr-lg-n1 .mr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-lg-auto .mx-xl-auto
.my-auto .my-sm-auto .my-md-auto .my-lg-auto .my-xl-auto
.mt-auto .mt-sm-auto .mt-md-auto .mt-lg-auto .mt-xl-auto
.mr-auto .mr-sm-auto .mr-md-auto .mr-lg-auto .mr-xl-auto
.mb-auto .mb-sm-auto .mb-md-auto .mb-lg-auto .mb-xl-auto
.ml-auto .ml-sm-auto .ml-md-auto .ml-lg-auto .ml-xl-auto
.p-0 .p-sm-0 .p-md-0 .p-lg-0 .p-xl-0
.px-0 .px-sm-0 .px-md-0 .px-lg-0 .px-xl-0
.py-0 .py-sm-0 .py-md-0 .py-lg-0 .py-xl-0
.pt-0 .pt-sm-0 .pt-md-0 .pt-lg-0 .pt-xl-0
.pr-0 .pr-sm-0 .pr-md-0 .pr-lg-0 .pr-xl-0
.pb-0 .pb-sm-0 .pb-md-0 .pb-lg-0 .pb-xl-0
.pl-0 .pl-sm-0 .pl-md-0 .pl-lg-0 .pl-xl-0
.p-1 .p-sm-1 .p-md-1 .p-lg-1 .p-xl-1
.px-1 .px-sm-1 .px-md-1 .px-lg-1 .px-xl-1
.py-1 .py-sm-1 .py-md-1 .py-lg-1 .py-xl-1
.pt-1 .pt-sm-1 .pt-md-1 .pt-lg-1 .pt-xl-1
.pr-1 .pr-sm-1 .pr-md-1 .pr-lg-1 .pr-xl-1
.pb-1 .pb-sm-1 .pb-md-1 .pb-lg-1 .pb-xl-1
.pl-1 .pl-sm-1 .pl-md-1 .pl-lg-1 .pl-xl-1
.p-2 .p-sm-2 .p-md-2 .p-lg-2 .p-xl-2
.px-2 .px-sm-2 .px-md-2 .px-lg-2 .px-xl-2
.py-2 .py-sm-2 .py-md-2 .py-lg-2 .py-xl-2
.pt-2 .pt-sm-2 .pt-md-2 .pt-lg-2 .pt-xl-2
.pr-2 .pr-sm-2 .pr-md-2 .pr-lg-2 .pr-xl-2
.pb-2 .pb-sm-2 .pb-md-2 .pb-lg-2 .pb-xl-2
.pl-2 .pl-sm-2 .pl-md-2 .pl-lg-2 .pl-xl-2
.p-3 .p-sm-3 .p-md-3 .p-lg-3 .p-xl-3
.px-3 .px-sm-3 .px-md-3 .px-lg-3 .px-xl-3
.py-3 .py-sm-3 .py-md-3 .py-lg-3 .py-xl-3
.pt-3 .pt-sm-3 .pt-md-3 .pt-lg-3 .pt-xl-3
.pr-3 .pr-sm-3 .pr-md-3 .pr-lg-3 .pr-xl-3
.pb-3 .pb-sm-3 .pb-md-3 .pb-lg-3 .pb-xl-3
.pl-3 .pl-sm-3 .pl-md-3 .pl-lg-3 .pl-xl-3
.p-4 .p-sm-4 .p-md-4 .p-lg-4 .p-xl-4
.px-4 .px-sm-4 .px-md-4 .px-lg-4 .px-xl-4
.py-4 .py-sm-4 .py-md-4 .py-lg-4 .py-xl-4
.pt-4 .pt-sm-4 .pt-md-4 .pt-lg-4 .pt-xl-4
.pr-4 .pr-sm-4 .pr-md-4 .pr-lg-4 .pr-xl-4
.pb-4 .pb-sm-4 .pb-md-4 .pb-lg-4 .pb-xl-4
.pl-4 .pl-sm-4 .pl-md-4 .pl-lg-4 .pl-xl-4
.p-5 .p-sm-5 .p-md-5 .p-lg-5 .p-xl-5
.px-5 .px-sm-5 .px-md-5 .px-lg-5 .px-xl-5
.py-5 .py-sm-5 .py-md-5 .py-lg-5 .py-xl-5
.pt-5 .pt-sm-5 .pt-md-5 .pt-lg-5 .pt-xl-5
.pr-5 .pr-sm-5 .pr-md-5 .pr-lg-5 .pr-xl-5
.pb-5 .pb-sm-5 .pb-md-5 .pb-lg-5 .pb-xl-5
.pl-5 .pl-sm-5 .pl-md-5 .pl-lg-5 .pl-xl-5
.p-auto .p-sm-auto .p-md-auto .p-lg-auto .p-xl-auto
.px-auto .px-sm-auto .px-md-auto .px-lg-auto .px-xl-auto
.py-auto .py-sm-auto .py-md-auto .py-lg-auto .py-xl-auto
.pt-auto .pt-sm-auto .pt-md-auto .pt-lg-auto .pt-xl-auto
.pr-auto .pr-sm-auto .pr-md-auto .pr-lg-auto .pr-xl-auto
.pb-auto .pb-sm-auto .pb-md-auto .pb-lg-auto .pb-xl-auto
.pl-auto .pl-sm-auto .pl-md-auto .pl-lg-auto .pl-xl-auto